From 01992a64dc3888cc5d58771b3592c5331a3a270e Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 30 May 2017 16:04:06 +1000 Subject: src/lvm.js: Throw error if OP_EXTRAARG is interpreted --- src/lvm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lvm.js b/src/lvm.js index 29e646e..a4985d7c 100644 --- a/src/lvm.js +++ b/src/lvm.js @@ -627,7 +627,7 @@ const luaV_execute = function(L) { break; } case OCi.OP_EXTRAARG: { - break; + throw Error("invalid opcode"); } } } -- cgit v1.2.3-70-g09d2