Skip to content

Commit f7500bd

Browse files
committed
Fix GCC computed goto missing 'trap' label in vm.c
1 parent 79b23f8 commit f7500bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/runtime/vm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ static bool resolveContextualMethod(VM* pvm, ObjString* name, Value* result) {
11961196
DISPATCH();
11971197
}
11981198

1199-
{
1199+
trap: {
12001200
runtimeError(pvm, "Unknown opcode %d.", frame->ip[-1]);
12011201
return INTERPRET_RUNTIME_ERROR;
12021202
}

0 commit comments

Comments
 (0)