Changeset 278591 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
- Timestamp:
- Jun 7, 2021, 8:22:27 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r278425 r278591 560 560 561 561 const Identifier& ident = identifier(bytecode.m_var); 562 RELEASE_ASSERT(bytecode.m_resolveType != LocalClosureVar);562 RELEASE_ASSERT(bytecode.m_resolveType != ResolvedClosureVar); 563 563 564 564 ResolveOp op = JSScope::abstractResolve(m_globalObject.get(), bytecode.m_localScopeDepth, scope, ident, Get, bytecode.m_resolveType, InitializationMode::NotInitialization); … … 591 591 592 592 ASSERT(!isInitialization(bytecode.m_getPutInfo.initializationMode())); 593 if (bytecode.m_getPutInfo.resolveType() == LocalClosureVar) {593 if (bytecode.m_getPutInfo.resolveType() == ResolvedClosureVar) { 594 594 metadata.m_getPutInfo = GetPutInfo(bytecode.m_getPutInfo.resolveMode(), ClosureVar, bytecode.m_getPutInfo.initializationMode(), bytecode.m_getPutInfo.ecmaMode()); 595 595 break; … … 614 614 INITIALIZE_METADATA(OpPutToScope) 615 615 616 if (bytecode.m_getPutInfo.resolveType() == LocalClosureVar) {616 if (bytecode.m_getPutInfo.resolveType() == ResolvedClosureVar) { 617 617 // Only do watching if the property we're putting to is not anonymous. 618 618 if (bytecode.m_var != UINT_MAX) { … … 1421 1421 GetPutInfo getPutInfo = metadata.m_getPutInfo; 1422 1422 if (getPutInfo.resolveType() == GlobalVar || getPutInfo.resolveType() == GlobalVarWithVarInjectionChecks 1423 || getPutInfo.resolveType() == LocalClosureVar || getPutInfo.resolveType() == GlobalLexicalVar || getPutInfo.resolveType() == GlobalLexicalVarWithVarInjectionChecks)1423 || getPutInfo.resolveType() == ResolvedClosureVar || getPutInfo.resolveType() == GlobalLexicalVar || getPutInfo.resolveType() == GlobalLexicalVarWithVarInjectionChecks) 1424 1424 return; 1425 1425 WriteBarrierBase<Structure>& structure = metadata.m_structure;
Note:
See TracChangeset
for help on using the changeset viewer.