Show
Ignore:
Timestamp:
08/04/08 12:23:14 (5 months ago)
Author:
mbensi
Message:

merge with webkit revision 35534

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/JavaScriptCore/VM/CodeGenerator.cpp

    r419 r429  
    11511151} 
    11521152 
     1153void 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 
    11531167void CodeGenerator::beginSwitch(RegisterID* scrutineeRegister, SwitchInfo::SwitchType type) 
    11541168{