Changeset 37750 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 20, 2008, 5:10:01 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r37747 r37750 1 2008-10-20 Cameron Zwarich <[email protected]> 2 3 Rubber-stamped by Sam Weinig. 4 5 * VM/Machine.cpp: 6 (JSC::Machine::privateExecute): 7 1 8 2008-10-16 Sam Weinig <[email protected]> 2 9 -
trunk/JavaScriptCore/VM/Machine.cpp
r37736 r37750 3350 3350 } 3351 3351 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 3352 3364 int src = (++vPC)->u.operand; 3353 3365 ASSERT(callFrame->codeBlock()->needsFullScopeChain); … … 3359 3371 } 3360 3372 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 3361 3385 ASSERT(callFrame->codeBlock()->usesArguments && !callFrame->codeBlock()->needsFullScopeChain); 3362 3386 … … 3448 3472 } 3449 3473 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 3450 3485 int thisRegister = (++vPC)->u.operand; 3451 3486 JSValuePtr thisVal = callFrame[thisRegister].getJSValue();
Note:
See TracChangeset
for help on using the changeset viewer.