Changeset 223715 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
- Timestamp:
- Oct 19, 2017, 3:23:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r223594 r223715 250 250 if (structure->hasPolyProto()) { 251 251 JSObject* prototype = jsCast<JSFunction*>(constructor)->prototypeForConstruction(vm, exec); 252 result->putDirect(vm, structure->polyProtoOffset(), prototype);252 result->putDirect(vm, knownPolyProtoOffset, prototype); 253 253 prototype->didBecomePrototype(); 254 254 ASSERT_WITH_MESSAGE(!hasIndexedProperties(result->indexingType()), "We rely on JSFinalObject not starting out with an indexing type otherwise we would potentially need to convert to slow put storage");
Note:
See TracChangeset
for help on using the changeset viewer.