Changeset 429 for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- 08/04/08 12:23:14 (5 months ago)
- Files:
-
- trunk/JavaScriptCore/VM/CodeGenerator.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r419 r429 1151 1151 } 1152 1152 1153 void CodeGenerator::emitPushNewScope(RegisterID* dst, Identifier& property, RegisterID* value) 1154 { 1155 m_codeBlock->needsFullScopeChain = true; 1156 ControlFlowContext context; 1157 context.isFinallyBlock = false; 1158 m_scopeContextStack.append(context); 1159 m_dynamicScopeDepth++; 1160 1161 emitOpcode(op_push_new_scope); 1162 instructions().append(dst->index()); 1163 instructions().append(addConstant(property)); 1164 instructions().append(value->index()); 1165 } 1166 1153 1167 void CodeGenerator::beginSwitch(RegisterID* scrutineeRegister, SwitchInfo::SwitchType type) 1154 1168 {
