Changeset 37750 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Oct 20, 2008, 5:10:01 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-20 Cameron Zwarich <[email protected]>

Rubber-stamped by Sam Weinig.

  • VM/Machine.cpp: (JSC::Machine::privateExecute):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r37747 r37750  
     12008-10-20  Cameron Zwarich  <[email protected]>
     2
     3        Rubber-stamped by Sam Weinig.
     4
     5        * VM/Machine.cpp:
     6        (JSC::Machine::privateExecute):
     7
    182008-10-16  Sam Weinig  <[email protected]>
    29
  • trunk/JavaScriptCore/VM/Machine.cpp

    r37736 r37750  
    33503350    }
    33513351    BEGIN_OPCODE(op_tear_off_activation) {
     3352        /* tear_off_activation activation(r)
     3353
     3354           Copy all locals and parameters to new memory allocated on
     3355           the heap, and make the passed activation use this memory
     3356           in the future when looking up entries in the symbol table.
     3357           If there is an 'arguments' object, then it will also use
     3358           this memory for storing the named parameters, but not any
     3359           extra arguments.
     3360
     3361           This opcode should only be used immediately before op_ret.
     3362        */
     3363
    33523364        int src = (++vPC)->u.operand;
    33533365        ASSERT(callFrame->codeBlock()->needsFullScopeChain);
     
    33593371    }
    33603372    BEGIN_OPCODE(op_tear_off_arguments) {
     3373        /* tear_off_arguments
     3374
     3375           Copy all arguments to new memory allocated on the heap,
     3376           and make the 'arguments' object use this memory in the
     3377           future when looking up named parameters, but not any
     3378           extra arguments. If an activation object exists for the
     3379           current function context, then the tear_off_activation
     3380           opcode should be used instead.
     3381
     3382           This opcode should only be used immediately before op_ret.
     3383        */
     3384
    33613385        ASSERT(callFrame->codeBlock()->usesArguments && !callFrame->codeBlock()->needsFullScopeChain);
    33623386
     
    34483472    }
    34493473    BEGIN_OPCODE(op_convert_this) {
     3474        /* convert_this this(r)
     3475
     3476           Takes the value in the 'this' register, converts it to a
     3477           value that is suitable for use as the 'this' value, and
     3478           stores it in the 'this' register. This opcode is emitted
     3479           to avoid doing the conversion in the caller unnecessarily.
     3480
     3481           This opcode should only be used at the beginning of a code
     3482           block.
     3483        */
     3484
    34503485        int thisRegister = (++vPC)->u.operand;
    34513486        JSValuePtr thisVal = callFrame[thisRegister].getJSValue();
Note: See TracChangeset for help on using the changeset viewer.