Changeset 292493 in webkit for trunk/Source/JavaScriptCore/dfg
- Timestamp:
- Apr 6, 2022, 12:35:37 PM (3 years ago)
- Location:
- trunk/Source/JavaScriptCore/dfg
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGAdaptiveStructureWatchpoint.cpp
r276226 r292493 59 59 void AdaptiveStructureWatchpoint::install(VM& vm) 60 60 { 61 RELEASE_ASSERT(m_key.isWatchable( ));61 RELEASE_ASSERT(m_key.isWatchable(PropertyCondition::MakeNoChanges)); 62 62 63 63 m_key.object()->structure(vm)->addTransitionWatchpoint(this); -
trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
r291332 r292493 4252 4252 4253 4253 Structure* structure = condition.object()->structure(*m_vm); 4254 if (!condition.structureEnsuresValidity( structure))4254 if (!condition.structureEnsuresValidity(Concurrency::ConcurrentThread, structure)) 4255 4255 return false; 4256 4256 … … 4381 4381 // Check if the structure that we've registered makes the condition hold. If not, just give 4382 4382 // up. This is case (5) above. 4383 if (!condition.structureEnsuresValidity( structure))4383 if (!condition.structureEnsuresValidity(Concurrency::ConcurrentThread, structure)) 4384 4384 return GetByOffsetMethod(); 4385 4385 -
trunk/Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp
r285592 r292493 1436 1436 1437 1437 Structure* structure = condition.object()->structure(m_graph.m_vm); 1438 if (!condition.structureEnsuresValidity( structure))1438 if (!condition.structureEnsuresValidity(Concurrency::ConcurrentThread, structure)) 1439 1439 return; 1440 1440 -
trunk/Source/JavaScriptCore/dfg/DFGDesiredWatchpoints.h
r276227 r292493 165 165 static bool hasBeenInvalidated(const ObjectPropertyCondition& key) 166 166 { 167 return !key.isWatchable( );167 return !key.isWatchable(PropertyCondition::MakeNoChanges); 168 168 } 169 169 static void dumpInContext( -
trunk/Source/JavaScriptCore/dfg/DFGGraph.cpp
r291332 r292493 1065 1065 return false; 1066 1066 1067 if (!key.isWatchable( ))1067 if (!key.isWatchable(PropertyCondition::MakeNoChanges)) 1068 1068 return false; 1069 1069
Note:
See TracChangeset
for help on using the changeset viewer.