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 | luajit2-3636a720a57adefb84c7ac70b68f640caf47f27f.tar.gz |
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 { LJ_FUNC int lj_record_objcmp(jit_State *J, TRef a, TRef b, cTValue *av, cTValue *bv); +LJ_FUNC TRef lj_record_constify(jit_State *J, cTValue *o); LJ_FUNC void lj_record_call(jit_State *J, BCReg func, ptrdiff_t nargs); LJ_FUNC void lj_record_tailcall(jit_State *J, BCReg func, ptrdiff_t nargs); |