Fix display of branches to exit stubs in 32 bit disassembly.

This commit is contained in:
Mike Pall 2010-12-23 01:01:04 +01:00
parent 6082f93919
commit ba20871f0f

View File

@ -371,7 +371,7 @@ LJLIB_CF(jit_util_traceexitstub)
ExitNo exitno = (ExitNo)lj_lib_checkint(L, 1);
jit_State *J = L2J(L);
if (exitno < EXITSTUBS_PER_GROUP*LJ_MAX_EXITSTUBGR) {
setnumV(L->top-1, cast_num((uintptr_t)exitstub_addr(J, exitno)));
setnumV(L->top-1, cast_num((intptr_t)exitstub_addr(J, exitno)));
return 1;
}
return 0;