Add emptystr implementation and stub out co-routine functions.

This commit is contained in:
Michael Munday 2017-01-03 16:44:36 -05:00
parent e739ffedce
commit 86e5e57f4c

View File

@ -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