mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 11:11:35 +02:00
update LuaJIT to the latest commit (5a18d45)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|// Low-level VM code for PowerPC 32 bit or 32on64 bit mode.
|
||||
|// Bytecode interpreter, fast functions and helper functions.
|
||||
|// Copyright (C) 2005-2022 Mike Pall. See Copyright Notice in luajit.h
|
||||
|// Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h
|
||||
|
|
||||
|.arch ppc
|
||||
|.section code_op, code_sub
|
||||
@@ -3269,14 +3269,13 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
| stw TMP0, 4(sp)
|
||||
| cmpwi cr1, CARG3, 0
|
||||
| mr TMP2, sp
|
||||
| addic. CARG2, CARG2, -1
|
||||
| addic. CARG2, CARG2, -4
|
||||
| stwux sp, sp, TMP1
|
||||
| crnot 4*cr1+eq, 4*cr1+eq // For vararg calls.
|
||||
| stw r14, -4(TMP2)
|
||||
| stw CCSTATE, -8(TMP2)
|
||||
| mr r14, TMP2
|
||||
| la TMP1, CCSTATE->stack
|
||||
| slwi CARG2, CARG2, 2
|
||||
| blty >2
|
||||
| la TMP2, 8(sp)
|
||||
|1:
|
||||
|
||||
Reference in New Issue
Block a user