diff options
author | Mike Pall <mike> | 2010-01-26 02:56:00 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-01-26 02:56:00 +0100 |
commit | e058714a2e3745a819b77e6b50551e423897026a (patch) | |
tree | 5f4215afccb44c0eb2862a532c80749a38768b27 /src | |
parent | 34d84f88368953ac0bf1e535b792ab2dd144bc60 (diff) | |
download | luajit-e058714a2e3745a819b77e6b50551e423897026a.tar.gz luajit-e058714a2e3745a819b77e6b50551e423897026a.tar.bz2 luajit-e058714a2e3745a819b77e6b50551e423897026a.zip |
Add missing eviction in asm_obar().
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_asm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index bff6c9bc..9f5ce030 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -1941,6 +1941,7 @@ static void asm_obar(ASMState *as, IRIns *ir) | |||
1941 | Reg obj; | 1941 | Reg obj; |
1942 | /* No need for other object barriers (yet). */ | 1942 | /* No need for other object barriers (yet). */ |
1943 | lua_assert(IR(ir->op1)->o == IR_UREFC); | 1943 | lua_assert(IR(ir->op1)->o == IR_UREFC); |
1944 | ra_evictset(as, RSET_SCRATCH); | ||
1944 | l_end = emit_label(as); | 1945 | l_end = emit_label(as); |
1945 | args[0] = ASMREF_TMP1; | 1946 | args[0] = ASMREF_TMP1; |
1946 | args[1] = ir->op1; | 1947 | args[1] = ir->op1; |