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