Ignore:
Timestamp:
Oct 28, 2010, 12:11:01 AM (15 years ago)
Author:
[email protected]
Message:

2010-10-28 Xan Lopez <[email protected]>

Try to fix Snow Leopard build.

  • jit/JITPropertyAccess.cpp: (JSC::JIT::testPrototype):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JITPropertyAccess.cpp

    r70111 r70750  
    586586    // two less instructions and doesn't require any scratch registers.
    587587#if CPU(X86_64)
    588     move(ImmPtr(asCell(prototype)->structure()), regT3);
    589     failureCases.append(branchPtr(NotEqual, AbsoluteAddress(&asCell(prototype)->m_structure), regT3));
     588    move(ImmPtr(prototype.asCell()->structure()), regT3);
     589    failureCases.append(branchPtr(NotEqual, AbsoluteAddress(&prototype.asCell()->m_structure), regT3));
    590590#else
    591     failureCases.append(branchPtr(NotEqual, AbsoluteAddress(&asCell(prototype)->m_structure), ImmPtr(asCell(prototype)->structure())));
     591    failureCases.append(branchPtr(NotEqual, AbsoluteAddress(&prototype.asCell()->m_structure), ImmPtr(prototype.asCell()->structure())));
    592592#endif
    593593}
Note: See TracChangeset for help on using the changeset viewer.