jitcraft/Opcodes.tbl
changeset 22 765ab1b672a3
parent 21 af5d8e985502
child 23 8a31742781c1
     1.1 --- a/jitcraft/Opcodes.tbl	Sun Jul 01 14:52:57 2012 -0700
     1.2 +++ b/jitcraft/Opcodes.tbl	Sun Jul 01 16:36:39 2012 -0700
     1.3 @@ -157,3 +157,9 @@
     1.4  //   copy(Left, Right)
     1.5  //   push(Left)
     1.6  OPDEF(OP_ARRAYCOPY,     55,         "arraycopy",    1,      2,  1)
     1.7 +
     1.8 +// Duplicates the top item on the stack.
     1.9 +OPDEF(OP_DUP,           56,         "dup",          1,      1,  2)
    1.10 +
    1.11 +// Duplicates the top two items on the stack.
    1.12 +OPDEF(OP_DUP2,          57,         "dup2",         1,      2,  4)