mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
Add emptystr implementation and stub out co-routine functions.
This commit is contained in:
parent
e739ffedce
commit
86e5e57f4c
@ -1358,12 +1358,16 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
|.else
|
|.else
|
||||||
|.ffunc coroutine_wrap_aux
|
|.ffunc coroutine_wrap_aux
|
||||||
|.endif
|
|.endif
|
||||||
|
| stg r0, 0(r0)
|
||||||
|
| stg r0, 0(r0)
|
||||||
|.endmacro
|
|.endmacro
|
||||||
|
|
|
|
||||||
| coroutine_resume_wrap 1 // coroutine.resume
|
| coroutine_resume_wrap 1 // coroutine.resume
|
||||||
| coroutine_resume_wrap 0 // coroutine.wrap
|
| coroutine_resume_wrap 0 // coroutine.wrap
|
||||||
|
|
|
|
||||||
|.ffunc coroutine_yield
|
|.ffunc coroutine_yield
|
||||||
|
| stg r0, 0(r0)
|
||||||
|
| stg r0, 0(r0)
|
||||||
|
|
|
|
||||||
|//-- Math library -------------------------------------------------------
|
|//-- Math library -------------------------------------------------------
|
||||||
|
|
|
|
||||||
@ -1600,7 +1604,8 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
| j <3
|
| j <3
|
||||||
|
|
|
|
||||||
|->fff_emptystr: // Range underflow.
|
|->fff_emptystr: // Range underflow.
|
||||||
| stg r0, 0(r0)
|
| lghi RD, 0
|
||||||
|
| j <3
|
||||||
|
|
|
|
||||||
|.macro ffstring_op, name
|
|.macro ffstring_op, name
|
||||||
| .ffunc_1 string_ .. name
|
| .ffunc_1 string_ .. name
|
||||||
|
Loading…
Reference in New Issue
Block a user