diff options
author | Martok <martok@martoks-place.de> | 2023-04-01 17:41:30 +0200 |
---|---|---|
committer | Martok <martok@martoks-place.de> | 2023-04-03 14:52:45 +0200 |
commit | 299090f2270f3e7561fc2d839b83066d70debe5d (patch) | |
tree | 9997dca0283def85ce16e7085213b5caa4d5dcdf /js/src/vm/Opcodes.h | |
parent | 9d03184aa298d6a292ca161ddd72b2686bbb7758 (diff) | |
download | uxp-299090f2270f3e7561fc2d839b83066d70debe5d.tar.gz |
Issue #2155 - Follow-up: Reorder super-property evaluation order per latest spec change
Fix regression from difference between Interpreter (old) and ElemOpEmitter (new). We don't have
any Ion/IC support for these ops.
Based-on: m-c 1472211
Diffstat (limited to 'js/src/vm/Opcodes.h')
-rw-r--r-- | js/src/vm/Opcodes.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/src/vm/Opcodes.h b/js/src/vm/Opcodes.h index 8328dfc994..ba1c820218 100644 --- a/js/src/vm/Opcodes.h +++ b/js/src/vm/Opcodes.h @@ -535,7 +535,7 @@ macro(JSOP_GETELEM, 55, "getelem", NULL, 1, 2, 1, JOF_BYTE |JOF_ELEM|JOF_TYPESET|JOF_LEFTASSOC) \ /* * Pops the top three values on the stack as 'val', 'propval' and 'obj', - * sets 'propval' property of 'obj' as 'val', pushes 'obj' onto the + * sets 'propval' property of 'obj' as 'val', pushes 'val' onto the * stack. * Category: Literals * Type: Object @@ -545,7 +545,7 @@ macro(JSOP_SETELEM, 56, "setelem", NULL, 1, 3, 1, JOF_BYTE |JOF_ELEM|JOF_SET|JOF_DETECTING|JOF_CHECKSLOPPY) \ /* * Pops the top three values on the stack as 'val', 'propval' and 'obj', - * sets 'propval' property of 'obj' as 'val', pushes 'obj' onto the + * sets 'propval' property of 'obj' as 'val', pushes 'val' onto the * stack. Throws a TypeError if the set fails, per strict mode * semantics. * Category: Literals @@ -1277,7 +1277,7 @@ * Category: Literals * Type: Object * Operands: - * Stack: receiver, obj, propval => obj[propval] + * Stack: receiver, propval, obj => obj[propval] */ \ macro(JSOP_GETELEM_SUPER, 125, "getelem-super", NULL, 1, 3, 1, JOF_BYTE |JOF_ELEM|JOF_LEFTASSOC) \ /* @@ -1637,7 +1637,7 @@ * Category: Literals * Type: Object * Operands: - * Stack: propval, receiver, obj, val => val + * Stack: receiver, propval, obj, val => val */ \ macro(JSOP_SETELEM_SUPER, 158, "setelem-super", NULL, 1, 4, 1, JOF_BYTE |JOF_ELEM|JOF_SET|JOF_DETECTING|JOF_CHECKSLOPPY) \ /* @@ -1646,7 +1646,7 @@ * Category: Literals * Type: Object * Operands: - * Stack: propval, receiver, obj, val => val + * Stack: receiver, propval, obj, val => val */ \ macro(JSOP_STRICTSETELEM_SUPER, 159, "strict-setelem-super", NULL, 1, 4, 1, JOF_BYTE |JOF_ELEM|JOF_SET|JOF_DETECTING|JOF_CHECKSTRICT) \ \ |