Changeset 156017 in webkit for trunk/Source/JavaScriptCore/dfg/DFGArrayMode.h
- Timestamp:
- Sep 17, 2013, 6:06:49 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGArrayMode.h
r155260 r156017 82 82 enum Class { 83 83 NonArray, // Definitely some object that is not a JSArray. 84 OriginalNonArray, // Definitely some object that is not a JSArray, but that object has the original structure. 84 85 Array, // Definitely a JSArray, and may or may not have custom properties or have undergone some other bizarre transitions. 85 86 OriginalArray, // Definitely a JSArray, and still has one of the primordial JSArray structures for the global object that this code block (possibly inlined code block) belongs to. … … 124 125 u.asBytes.type = type; 125 126 u.asBytes.arrayClass = Array::NonArray; 127 u.asBytes.speculation = Array::InBounds; 128 u.asBytes.conversion = Array::AsIs; 129 } 130 131 ArrayMode(Array::Type type, Array::Class arrayClass) 132 { 133 u.asBytes.type = type; 134 u.asBytes.arrayClass = arrayClass; 126 135 u.asBytes.speculation = Array::InBounds; 127 136 u.asBytes.conversion = Array::AsIs; … … 418 427 switch (arrayClass()) { 419 428 case Array::NonArray: 429 case Array::OriginalNonArray: 420 430 return asArrayModes(shape); 421 431 case Array::Array:
Note:
See TracChangeset
for help on using the changeset viewer.