Ignore:
Timestamp:
Oct 8, 2014, 1:54:24 PM (11 years ago)
Author:
[email protected]
Message:

Make sure arguments tearoff is performed through the environment record if necessary
https://bugs.webkit.org/show_bug.cgi?id=137538

Reviewed by Michael Saboff.

Fairly simple change. If we have a lexical record we need to pull the unmodified
arguments object from the record and then use the standard op_tear_off_arguments
instruction on the temporary.

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitGetOwnScope):
(JSC::BytecodeGenerator::emitReturn):

  • bytecompiler/BytecodeGenerator.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r174473 r174478  
     12014-10-08  Oliver Hunt  <[email protected]>
     2
     3        Make sure arguments tearoff is performed through the environment record if necessary
     4        https://bugs.webkit.org/show_bug.cgi?id=137538
     5
     6        Reviewed by Michael Saboff.
     7
     8        Fairly simple change.  If we have a lexical record we need to pull the unmodified
     9        arguments object from the record and then use the standard op_tear_off_arguments
     10        instruction on the temporary.
     11
     12        * bytecompiler/BytecodeGenerator.cpp:
     13        (JSC::BytecodeGenerator::emitGetOwnScope):
     14        (JSC::BytecodeGenerator::emitReturn):
     15        * bytecompiler/BytecodeGenerator.h:
     16
    1172014-10-08  [email protected]  <[email protected]>
    218
Note: See TracChangeset for help on using the changeset viewer.