diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-24 12:23:14 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-24 12:23:14 +0100 |
commit | 2bb0252ab48a97a72c33cef9cbe54e86563f15c9 (patch) | |
tree | 1b792a95a2ddaed8f3a16e7367b72fff73a51a51 /js/src/frontend/BytecodeEmitter.h | |
parent | 4b487efb58bfba4c3f67d898e86b9f6daaab59b2 (diff) | |
download | UXP-2bb0252ab48a97a72c33cef9cbe54e86563f15c9.tar UXP-2bb0252ab48a97a72c33cef9cbe54e86563f15c9.tar.gz UXP-2bb0252ab48a97a72c33cef9cbe54e86563f15c9.tar.lz UXP-2bb0252ab48a97a72c33cef9cbe54e86563f15c9.tar.xz UXP-2bb0252ab48a97a72c33cef9cbe54e86563f15c9.zip |
Bug 1147371: Implement IteratorClose for array destructuring
Issue #74
Diffstat (limited to 'js/src/frontend/BytecodeEmitter.h')
-rw-r--r-- | js/src/frontend/BytecodeEmitter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/frontend/BytecodeEmitter.h b/js/src/frontend/BytecodeEmitter.h index 156abedbe..78eb3510c 100644 --- a/js/src/frontend/BytecodeEmitter.h +++ b/js/src/frontend/BytecodeEmitter.h @@ -684,7 +684,8 @@ struct MOZ_STACK_CLASS BytecodeEmitter bool allowSelfHosted = false); template <typename InnerEmitter> - MOZ_MUST_USE bool wrapWithIteratorCloseTryNote(int32_t iterDepth, InnerEmitter emitter); + MOZ_MUST_USE bool wrapWithDestructuringIteratorCloseTryNote(int32_t iterDepth, + InnerEmitter emitter); // Check if the value on top of the stack is "undefined". If so, replace // that value on the stack with the value defined by |defaultExpr|. |