aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/elymasGlobal.ey6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/elymasGlobal.ey b/compiler/elymasGlobal.ey
index 2e1f8f6..e8c419a 100644
--- a/compiler/elymasGlobal.ey
+++ b/compiler/elymasGlobal.ey
@@ -2629,6 +2629,8 @@
24 /r13 /rax :movqMemDisp8Reg
/r15 8 /rax :movqRegMemDisp8
32 /r13 /rax :movqMemDisp8Reg
+ /rax /rax :testqRegReg
+ /sourceDataStackMissing :jzLbl8
/rsp 8 /rax :movqRegMemDisp8
# exclude source opcodes from being optimized away
@@ -2673,6 +2675,10 @@
/rbx :pushqReg
/rax :movqImmOOBReg "ey!" "ey." ::linkAbs64
/rax :jmpqReg
+
+ @sourceDataStackMissing
+ "cannot leave coroutine with ! which was entered by * (missing own stack)" ::outputError
+ :ud2
]] /ey! defv
> _ ==globalFunctions3 { defv }' ::allocateOffsetStruct