1.1 --- a/src/Opcodes.tbl Mon Dec 24 02:56:02 2012 -0800
1.2 +++ b/src/Opcodes.tbl Mon Dec 24 16:09:13 2012 -0800
1.3 @@ -100,7 +100,8 @@
1.4 OPDEF(OP_NEWEMPTY, "newempty", 6, 0, 1)
1.5 OPDEF(OP_NEWSIZED, "newsized", 6, -1, 1)
1.6
1.7 -// Creates a duplicate copy of an array.
1.8 +// Creates a duplicate copy of an array. This is a deep clone, rather than
1.9 +// COPYARRAY, which is shallow.
1.10 OPDEF(OP_DUPARRAY, "duparray", 1, 1, 1)
1.11
1.12 // Performs an array-to-array assignment.
1.13 @@ -108,7 +109,7 @@
1.14 // Right = pop()
1.15 // copy(Left, Right)
1.16 // push(Left)
1.17 -OPDEF(OP_COPYARRAY, "arraycopy", 1, 2, 1)
1.18 +OPDEF(OP_COPYARRAY, "copyarray", 1, 2, 1)
1.19
1.20 // Reads or writes an integer element to an unsafe array.
1.21 // index = pop()