aboutsummaryrefslogtreecommitdiff
path: root/src/lj_jit.h
diff options
context:
space:
mode:
authorMike Pall <mike>2016-05-23 00:25:29 +0200
committerMike Pall <mike>2016-05-23 00:25:29 +0200
commit7fb75ccc4cf17825c1c8fe9f44ebfb0668a1b033 (patch)
tree7317a542402fa2a135b6789c7c4868089d31fd2f /src/lj_jit.h
parenta4067978b6d1c2a25d91d82b1b0d384d98abdbe5 (diff)
downloadluajit-7fb75ccc4cf17825c1c8fe9f44ebfb0668a1b033.tar.gz
luajit-7fb75ccc4cf17825c1c8fe9f44ebfb0668a1b033.tar.bz2
luajit-7fb75ccc4cf17825c1c8fe9f44ebfb0668a1b033.zip
Embed 64 bit constants directly in the IR, using two slots.
Contributed by Peter Cawley.
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r--src/lj_jit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index eafbc327..e9ab319e 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -355,8 +355,8 @@ enum {
355/* Fold state is used to fold instructions on-the-fly. */ 355/* Fold state is used to fold instructions on-the-fly. */
356typedef struct FoldState { 356typedef struct FoldState {
357 IRIns ins; /* Currently emitted instruction. */ 357 IRIns ins; /* Currently emitted instruction. */
358 IRIns left; /* Instruction referenced by left operand. */ 358 IRIns left[2]; /* Instruction referenced by left operand. */
359 IRIns right; /* Instruction referenced by right operand. */ 359 IRIns right[2]; /* Instruction referenced by right operand. */
360} FoldState; 360} FoldState;
361 361
362/* JIT compiler state. */ 362/* JIT compiler state. */