PPC: Fix GG_State loads.
This commit is contained in:
@@ -147,7 +147,7 @@ TRef lj_ir_call(jit_State *J, IRCallID id, ...)
|
||||
}
|
||||
|
||||
/* Load field of type t from GG_State + offset. Must be 32 bit aligned. */
|
||||
LJ_FUNC TRef lj_ir_ggfload(jit_State *J, IRType t, uintptr_t ofs)
|
||||
TRef lj_ir_ggfload(jit_State *J, IRType t, uintptr_t ofs)
|
||||
{
|
||||
lj_assertJ((ofs & 3) == 0, "unaligned GG_State field offset");
|
||||
ofs >>= 2;
|
||||
|
||||
Reference in New Issue
Block a user