summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-30 16:04:06 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-30 16:04:06 +1000
commit01992a64dc3888cc5d58771b3592c5331a3a270e (patch)
tree3e9f7a5f8a8e6a151914275d05c24a5fbcad492d /src
parente602b73c35b74178a1dc36e4b0d0b442e63264d5 (diff)
downloadfengari-01992a64dc3888cc5d58771b3592c5331a3a270e.tar.gz
fengari-01992a64dc3888cc5d58771b3592c5331a3a270e.tar.bz2
fengari-01992a64dc3888cc5d58771b3592c5331a3a270e.zip
src/lvm.js: Throw error if OP_EXTRAARG is interpreted
Diffstat (limited to 'src')
-rw-r--r--src/lvm.js2
1 files changed, 1 insertions, 1 deletions
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");
}
}
}