summaryrefslogtreecommitdiffstats
path: root/js/src/vm/Opcodes.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-16 23:13:47 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-18 10:30:04 +0000
commit772cd4b188fd9f30521d4983f60363f4a830e2aa (patch)
tree7f02fd3c1f881ad1c9abad511a5ed842deac0088 /js/src/vm/Opcodes.h
parent625366321008cc464f4295db80c48dd5a19f3ee4 (diff)
downloadUXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar.gz
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar.lz
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.tar.xz
UXP-772cd4b188fd9f30521d4983f60363f4a830e2aa.zip
Remove JSOP_SPREADCALLARRAY and just use JSOP_NEWARRAY again.
Diffstat (limited to 'js/src/vm/Opcodes.h')
-rw-r--r--js/src/vm/Opcodes.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/js/src/vm/Opcodes.h b/js/src/vm/Opcodes.h
index 4b044c8d8..095ef57ae 100644
--- a/js/src/vm/Opcodes.h
+++ b/js/src/vm/Opcodes.h
@@ -1281,17 +1281,7 @@
* Stack: receiver, obj, propval => obj[propval]
*/ \
macro(JSOP_GETELEM_SUPER, 125, "getelem-super", NULL, 1, 3, 1, JOF_BYTE |JOF_ELEM|JOF_LEFTASSOC) \
- /*
- * Pushes newly created array for a spread call onto the stack. This has
- * the same semantics as JSOP_NEWARRAY, but is distinguished to avoid
- * using unboxed arrays in spread calls, which would make compiling spread
- * calls in baseline more complex.
- * Category: Literals
- * Type: Array
- * Operands: uint32_t length
- * Stack: => obj
- */ \
- macro(JSOP_SPREADCALLARRAY, 126, "spreadcallarray", NULL, 5, 0, 1, JOF_UINT32) \
+ macro(JSOP_UNUSED126, 126, "unused126", NULL, 5, 0, 1, JOF_UINT32) \
\
/*
* Defines the given function on the current scope.