⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 157619 in webkit


Ignore:
Timestamp:
Oct 17, 2013, 8:47:08 PM (13 years ago)
Author:
fpizlo@apple.com
Message:

Unreviewed, speculative ARM64 build fix.

move(ImmPtr, blah) is only available in MacroAssembler since that's where blinding is
implemented. So, you have to use TrustedImmPtr in the superclasses.

  • assembler/MacroAssemblerARM64.h:

(JSC::MacroAssemblerARM64::store8):
(JSC::MacroAssemblerARM64::branchTest8):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r157618 r157619  
     12013-10-17  Filip Pizlo  <fpizlo@apple.com>
     2
     3        Unreviewed, speculative ARM64 build fix.
     4       
     5        move(ImmPtr, blah) is only available in MacroAssembler since that's where blinding is
     6        implemented. So, you have to use TrustedImmPtr in the superclasses.
     7
     8        * assembler/MacroAssemblerARM64.h:
     9        (JSC::MacroAssemblerARM64::store8):
     10        (JSC::MacroAssemblerARM64::branchTest8):
     11
    1122013-10-17  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/assembler/MacroAssemblerARM64.h

    r157618 r157619  
    10131013    void store8(RegisterID src, void* address)
    10141014    {
    1015         move(ImmPtr(address), getCachedMemoryTempRegisterIDAndInvalidate());
     1015        move(TrustedImmPtr(address), getCachedMemoryTempRegisterIDAndInvalidate());
    10161016        m_assembler.strb(src, memoryTempRegister, 0);
    10171017    }
     
    16951695    Jump branchTest8(ResultCondition cond, ExtendedAddress address, TrustedImm32 mask = TrustedImm32(-1))
    16961696    {
    1697         move(ImmPtr(reinterpret_cast<void*>(address.offset)), getCachedDataTempRegisterIDAndInvalidate());
     1697        move(TrustedImmPtr(reinterpret_cast<void*>(address.offset)), getCachedDataTempRegisterIDAndInvalidate());
    16981698        m_assembler.ldrb(dataTempRegister, address.base, dataTempRegister);
    16991699        return branchTest32(cond, dataTempRegister, mask);
Note: See TracChangeset for help on using the changeset viewer.