Changeset 212177 in webkit for trunk/Source/JavaScriptCore/ftl/FTLOperations.cpp
- Timestamp:
- Feb 10, 2017, 8:05:06 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLOperations.cpp
r211247 r212177 133 133 continue; 134 134 135 RELEASE_ASSERT(JSValue::decode(values[i]).asCell()->inherits(vm, Structure::info())); 135 136 structure = jsCast<Structure*>(JSValue::decode(values[i])); 136 137 break; … … 164 165 for (unsigned i = materialization->properties().size(); i--;) { 165 166 const ExitPropertyValue& property = materialization->properties()[i]; 166 if (property.location() == PromotedLocationDescriptor(FunctionExecutablePLoc)) 167 if (property.location() == PromotedLocationDescriptor(FunctionExecutablePLoc)) { 168 RELEASE_ASSERT(JSValue::decode(values[i]).asCell()->inherits(vm, FunctionExecutable::info())); 167 169 executable = jsCast<FunctionExecutable*>(JSValue::decode(values[i])); 168 if (property.location() == PromotedLocationDescriptor(FunctionActivationPLoc)) 170 } 171 if (property.location() == PromotedLocationDescriptor(FunctionActivationPLoc)) { 172 RELEASE_ASSERT(JSValue::decode(values[i]).asCell()->inherits(vm, JSScope::info())); 169 173 activation = jsCast<JSScope*>(JSValue::decode(values[i])); 174 } 170 175 } 171 176 RELEASE_ASSERT(executable && activation); … … 185 190 for (unsigned i = materialization->properties().size(); i--;) { 186 191 const ExitPropertyValue& property = materialization->properties()[i]; 187 if (property.location() == PromotedLocationDescriptor(ActivationScopePLoc)) 192 if (property.location() == PromotedLocationDescriptor(ActivationScopePLoc)) { 193 RELEASE_ASSERT(JSValue::decode(values[i]).asCell()->inherits(vm, JSScope::info())); 188 194 scope = jsCast<JSScope*>(JSValue::decode(values[i])); 189 else if (property.location() == PromotedLocationDescriptor(ActivationSymbolTablePLoc)) 195 } else if (property.location() == PromotedLocationDescriptor(ActivationSymbolTablePLoc)) { 196 RELEASE_ASSERT(JSValue::decode(values[i]).asCell()->inherits(vm, SymbolTable::info())); 190 197 table = jsCast<SymbolTable*>(JSValue::decode(values[i])); 198 } 191 199 } 192 200 RELEASE_ASSERT(scope);
Note:
See TracChangeset
for help on using the changeset viewer.