Changeset 189596 in webkit for trunk/Source/JavaScriptCore/runtime/Structure.cpp
- Timestamp:
- Sep 10, 2015, 4:07:08 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Structure.cpp
r188978 r189596 209 209 setHasRareData(false); 210 210 setTransitionWatchpointIsLikelyToBeFired(false); 211 setHasBeenDictionary(false); 211 212 212 213 ASSERT(inlineCapacity <= JSFinalObject::maxInlineCapacity()); … … 240 241 setHasRareData(false); 241 242 setTransitionWatchpointIsLikelyToBeFired(false); 243 setHasBeenDictionary(false); 242 244 243 245 TypeInfo typeInfo = TypeInfo(CellType, StructureFlags); … … 269 271 setStaticFunctionsReified(previous->staticFunctionsReified()); 270 272 setHasRareData(false); 273 setHasBeenDictionary(previous->hasBeenDictionary()); 271 274 272 275 TypeInfo typeInfo = previous->typeInfo(); … … 538 541 transition->setDictionaryKind(kind); 539 542 transition->pin(); 540 transition->set TransitionWatchpointIsLikelyToBeFired(true);543 transition->setHasBeenDictionary(true); 541 544 542 545 transition->checkOffsetConsistency(); … … 1157 1160 switch (dictionaryKind()) { 1158 1161 case NoneDictionaryKind: 1162 if (hasBeenDictionary()) 1163 out.print(", Has been dictionary"); 1159 1164 break; 1160 1165 case CachedDictionaryKind: … … 1165 1170 break; 1166 1171 } 1172 1173 if (transitionWatchpointSetIsStillValid()) 1174 out.print(", Leaf"); 1175 else if (transitionWatchpointIsLikelyToBeFired()) 1176 out.print(", Shady leaf"); 1167 1177 1168 1178 out.print("]");
Note:
See TracChangeset
for help on using the changeset viewer.