Changeset 36325 in webkit for trunk/JavaScriptCore/VM/CTI.cpp
- Timestamp:
- Sep 10, 2008, 7:42:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.cpp
r36324 r36325 1738 1738 // referencing the prototype object - let's speculatively load it's table nice and early!) 1739 1739 JSObject* protoObject = static_cast<JSObject*>(structureID->prototypeForLookup(exec)); 1740 OwnArrayPtr<JSValue*>* protoPropertyStorage = &protoObject->m_propertyStorage;1740 PropertyStorage* protoPropertyStorage = &protoObject->m_propertyStorage; 1741 1741 m_jit.movl_mr(static_cast<void*>(protoPropertyStorage), X86::edx); 1742 1742 … … 1783 1783 StructureID* currStructureID = structureID; 1784 1784 RefPtr<StructureID>* chainEntries = chain->head(); 1785 JS Cell* protoObject = 0;1785 JSObject* protoObject = 0; 1786 1786 for (unsigned i = 0; i<count; ++i) { 1787 protoObject = static_cast<JS Cell*>(currStructureID->prototypeForLookup(exec));1787 protoObject = static_cast<JSObject*>(currStructureID->prototypeForLookup(exec)); 1788 1788 currStructureID = chainEntries[i].get(); 1789 1789 … … 1794 1794 } 1795 1795 ASSERT(protoObject); 1796 1797 OwnArrayPtr<JSValue*>* protoPropertyStorage = &static_cast<JSObject*>(protoObject)->m_propertyStorage;1796 1797 PropertyStorage* protoPropertyStorage = &protoObject->m_propertyStorage; 1798 1798 m_jit.movl_mr(static_cast<void*>(protoPropertyStorage), X86::edx); 1799 1799 m_jit.movl_mr(cachedOffset * sizeof(JSValue*), X86::edx, X86::eax);
Note:
See TracChangeset
for help on using the changeset viewer.