diff options
author | Mike Pall <mike> | 2012-07-20 18:54:52 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-07-20 18:54:52 +0200 |
commit | 3636a720a57adefb84c7ac70b68f640caf47f27f (patch) | |
tree | 26959ea44d123b9a2361b8cd7fe5962acbd88502 /src/lj_record.h | |
parent | 834ff6d36d85f75d1c11c4d83dc6f56f726b7419 (diff) | |
download | luajit-3636a720a57adefb84c7ac70b68f640caf47f27f.tar.gz luajit-3636a720a57adefb84c7ac70b68f640caf47f27f.tar.bz2 luajit-3636a720a57adefb84c7ac70b68f640caf47f27f.zip |
Turn loads from immutable upvalues into constants.
Diffstat (limited to 'src/lj_record.h')
-rw-r--r-- | src/lj_record.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_record.h b/src/lj_record.h index 40ffcb97..357392d8 100644 --- a/src/lj_record.h +++ b/src/lj_record.h | |||
@@ -28,6 +28,7 @@ typedef struct RecordIndex { | |||
28 | 28 | ||
29 | LJ_FUNC int lj_record_objcmp(jit_State *J, TRef a, TRef b, | 29 | LJ_FUNC int lj_record_objcmp(jit_State *J, TRef a, TRef b, |
30 | cTValue *av, cTValue *bv); | 30 | cTValue *av, cTValue *bv); |
31 | LJ_FUNC TRef lj_record_constify(jit_State *J, cTValue *o); | ||
31 | 32 | ||
32 | LJ_FUNC void lj_record_call(jit_State *J, BCReg func, ptrdiff_t nargs); | 33 | LJ_FUNC void lj_record_call(jit_State *J, BCReg func, ptrdiff_t nargs); |
33 | LJ_FUNC void lj_record_tailcall(jit_State *J, BCReg func, ptrdiff_t nargs); | 34 | LJ_FUNC void lj_record_tailcall(jit_State *J, BCReg func, ptrdiff_t nargs); |