Skip to content

Instantly share code, notes, and snippets.

@eugeneia
Created June 6, 2019 13:59
Show Gist options
  • Save eugeneia/75b7b250c5d9c8d08491c53813ca4eea to your computer and use it in GitHub Desktop.
Save eugeneia/75b7b250c5d9c8d08491c53813ca4eea to your computer and use it in GitHub Desktop.
diff --git a/src/lj_vm.c b/src/lj_vm.c
index 9c3843c3..c02b8764 100644
--- a/src/lj_vm.c
+++ b/src/lj_vm.c
@@ -500,6 +500,7 @@ void execute(lua_State *L) {
if (vm_return(L, BASE[-1].u64, resultofs, nresults)) return;
}
break;
+ default: assert(0 && "INVALID BYTECODE");
}
/* Tail recursion. */
execute(L);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment