Changeset 35533 in webkit for trunk/JavaScriptCore/VM/CodeGenerator.cpp
- Timestamp:
- Aug 3, 2008, 2:58:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CodeGenerator.cpp
r35368 r35533 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 {
Note:
See TracChangeset
for help on using the changeset viewer.