Changeset 36316 in webkit for trunk/JavaScriptCore/VM/CTI.cpp
- Timestamp:
- Sep 10, 2008, 1:42:43 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.cpp
r36311 r36316 1673 1673 } 1674 1674 1675 void* CTI::privateCompileGetByIdProto( StructureID* structureID, StructureID* prototypeStructureID, size_t cachedOffset)1675 void* CTI::privateCompileGetByIdProto(ExecState* exec, StructureID* structureID, StructureID* prototypeStructureID, size_t cachedOffset) 1676 1676 { 1677 1677 // The prototype object definitely exists (if this stub exists the CodeBlock is referencing a StructureID that is 1678 1678 // referencing the prototype object - let's speculatively load it's table nice and early!) 1679 JSObject* protoObject = static_cast<JSObject*>(structureID->prototype ());1679 JSObject* protoObject = static_cast<JSObject*>(structureID->prototypeForLookup(exec)); 1680 1680 OwnArrayPtr<JSValue*>* protoPropertyStorage = &protoObject->m_propertyStorage; 1681 1681 m_jit.movl_mr(static_cast<void*>(protoPropertyStorage), X86::edx); … … 1709 1709 } 1710 1710 1711 void* CTI::privateCompileGetByIdChain( StructureID* structureID, StructureIDChain* chain, size_t count, size_t cachedOffset)1711 void* CTI::privateCompileGetByIdChain(ExecState* exec, StructureID* structureID, StructureIDChain* chain, size_t count, size_t cachedOffset) 1712 1712 { 1713 1713 ASSERT(count); … … 1725 1725 JSCell* protoObject = 0; 1726 1726 for (unsigned i = 0; i<count; ++i) { 1727 protoObject = static_cast<JSCell*>(currStructureID->prototype ());1727 protoObject = static_cast<JSCell*>(currStructureID->prototypeForLookup(exec)); 1728 1728 currStructureID = chainEntries[i].get(); 1729 1729
Note:
See TracChangeset
for help on using the changeset viewer.