Changeset 291332 in webkit for trunk/Source/JavaScriptCore/dfg/DFGGraph.cpp
- Timestamp:
- Mar 15, 2022, 10:35:12 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGGraph.cpp
r288815 r291332 1062 1062 bool Graph::watchCondition(const ObjectPropertyCondition& key) 1063 1063 { 1064 if (m_plan.isUnlinked()) 1065 return false; 1066 1064 1067 if (!key.isWatchable()) 1065 1068 return false; … … 1082 1085 bool Graph::watchConditions(const ObjectPropertyConditionSet& keys) 1083 1086 { 1087 if (m_plan.isUnlinked()) 1088 return false; 1089 1084 1090 if (!keys.isValid()) 1085 1091 return false; … … 1099 1105 bool Graph::watchGlobalProperty(JSGlobalObject* globalObject, unsigned identifierNumber) 1100 1106 { 1107 if (m_plan.isUnlinked()) 1108 return false; 1109 1101 1110 UniquedStringImpl* uid = identifiers()[identifierNumber]; 1102 1111 // If we already have a WatchpointSet, and it is already invalidated, it means that this scope operation must be changed from GlobalProperty to GlobalLexicalVar, … … 1268 1277 JSValue base, const RegisteredStructureSet& structureSet, PropertyOffset offset) 1269 1278 { 1279 if (m_plan.isUnlinked()) 1280 return JSValue(); 1281 1270 1282 if (!base || !base.isObject()) 1271 1283 return JSValue(); … … 1353 1365 { 1354 1366 // This has an awesome concurrency story. See comment for GetGlobalVar in ByteCodeParser. 1367 1368 if (m_plan.isUnlinked()) 1369 return JSValue(); 1355 1370 1356 1371 if (!base) … … 1403 1418 JSArrayBufferView* Graph::tryGetFoldableView(JSValue value) 1404 1419 { 1420 if (m_plan.isUnlinked()) 1421 return nullptr; 1405 1422 if (!value) 1406 1423 return nullptr; … … 1731 1748 bool Graph::getRegExpPrototypeProperty(JSObject* regExpPrototype, Structure* regExpPrototypeStructure, UniquedStringImpl* uid, JSValue& returnJSValue) 1732 1749 { 1750 if (m_plan.isUnlinked()) 1751 return false; 1752 1733 1753 PropertyOffset offset = regExpPrototypeStructure->getConcurrently(uid); 1734 1754 if (!isValidOffset(offset)) … … 1778 1798 bool Graph::canOptimizeStringObjectAccess(const CodeOrigin& codeOrigin) 1779 1799 { 1800 if (m_plan.isUnlinked()) 1801 return false; 1802 1780 1803 if (hasExitSite(codeOrigin, BadCache) || hasExitSite(codeOrigin, BadConstantCache)) 1781 1804 return false; … … 1829 1852 // The parameter 'value' is the AbstractValue for child1 (the thing being spread). 1830 1853 ASSERT(node->op() == Spread); 1854 1855 if (m_plan.isUnlinked()) 1856 return false; 1831 1857 1832 1858 if (node->child1().useKind() != ArrayUse) {
Note:
See TracChangeset
for help on using the changeset viewer.