diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-20 12:40:00 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-20 12:40:00 +0100 |
commit | 2a57d73c3b5304be3f9be51018a1bbee79f007e2 (patch) | |
tree | 90bd70148cd2ee939092d6e70bd618ab5df914b1 /js/src/jit/MIRGraph.h | |
parent | caa2a53c402c7b509e9939e9aefe595dc0dbe516 (diff) | |
download | UXP-2a57d73c3b5304be3f9be51018a1bbee79f007e2.tar UXP-2a57d73c3b5304be3f9be51018a1bbee79f007e2.tar.gz UXP-2a57d73c3b5304be3f9be51018a1bbee79f007e2.tar.lz UXP-2a57d73c3b5304be3f9be51018a1bbee79f007e2.tar.xz UXP-2a57d73c3b5304be3f9be51018a1bbee79f007e2.zip |
Bug 1204028: Evaluate LHS reference before RHS in destructuring
Issue #73
[Depends on] Bug 1147371: Implement IteratorClose
Diffstat (limited to 'js/src/jit/MIRGraph.h')
-rw-r--r-- | js/src/jit/MIRGraph.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit/MIRGraph.h b/js/src/jit/MIRGraph.h index b986218f4..705d70fa1 100644 --- a/js/src/jit/MIRGraph.h +++ b/js/src/jit/MIRGraph.h @@ -142,6 +142,9 @@ class MBasicBlock : public TempObject, public InlineListNode<MBasicBlock> // Move the definition to the top of the stack. void pick(int32_t depth); + // Move the top of the stack definition under the depth-th stack value. + void unpick(int32_t depth); + // Exchange 2 stack slots at the defined depth void swapAt(int32_t depth); |