]> git.mxchange.org Git - simgear.git/blobdiff - simgear/nasal/code.h
Update the code a bit more, add a function to retreive the last error string and...
[simgear.git] / simgear / nasal / code.h
index 89c07fe9d6719bc86bf1c8bc55ae11c08bd2ebb1..7e9c765318ac252a0d13623348be3104f1185c52 100644 (file)
@@ -16,7 +16,7 @@ enum {
     OP_PUSHCONST, OP_PUSHONE, OP_PUSHZERO, OP_PUSHNIL, OP_POP,
     OP_DUP, OP_XCHG, OP_INSERT, OP_EXTRACT, OP_MEMBER, OP_SETMEMBER,
     OP_LOCAL, OP_SETLOCAL, OP_NEWVEC, OP_VAPPEND, OP_NEWHASH, OP_HAPPEND,
-    OP_LINE, OP_MARK, OP_UNMARK, OP_BREAK, OP_NEWARGS
+    OP_LINE, OP_MARK, OP_UNMARK, OP_BREAK
 };
 
 struct Frame {
@@ -41,10 +41,6 @@ struct Context {
     int markTop;
     int done;
 
-    // Vector of arguments vectors.  A LIFO cache, basically, to avoid
-    // thrashing the GC just for function call arguments.
-    naRef argPool;
-
     // Constants
     naRef meRef;
     naRef argRef;