Changeset 68237 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Sep 23, 2010, 11:24:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r68223 r68237 3613 3613 int dst = vPC[1].u.operand; 3614 3614 int func = vPC[2].u.operand; 3615 int shouldCheck = vPC[3].u.operand; 3616 3617 if (!shouldCheck || !callFrame->r(dst).jsValue()) 3618 callFrame->r(dst) = JSValue(codeBlock->functionDecl(func)->make(callFrame, callFrame->scopeChain())); 3615 3616 callFrame->r(dst) = JSValue(codeBlock->functionDecl(func)->make(callFrame, callFrame->scopeChain())); 3619 3617 3620 3618 vPC += OPCODE_LENGTH(op_new_func); … … 4140 4138 NEXT_INSTRUCTION(); 4141 4139 } 4142 DEFINE_OPCODE(op_init_ lazy_reg) {4143 /* init_lazy_regdst(r)4144 4145 Initialises dst(r)to JSValue().4140 DEFINE_OPCODE(op_init_arguments) { 4141 /* create_arguments dst(r) 4142 4143 Initialises 'arguments' to JSValue(). 4146 4144 4147 4145 This opcode appears only at the beginning of a code block. … … 4150 4148 4151 4149 callFrame->r(dst) = JSValue(); 4152 vPC += OPCODE_LENGTH(op_init_lazy_reg); 4150 callFrame->r(unmodifiedArgumentsRegister(dst)) = JSValue(); 4151 vPC += OPCODE_LENGTH(op_init_arguments); 4153 4152 NEXT_INSTRUCTION(); 4154 4153 }
Note:
See TracChangeset
for help on using the changeset viewer.