Changeset 48525 in webkit for trunk/JavaScriptCore/assembler
- Timestamp:
- Sep 18, 2009, 1:18:27 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/assembler
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/assembler/ARMAssembler.cpp
r47530 r48525 27 27 #include "config.h" 28 28 29 #if ENABLE(ASSEMBLER) && PLATFORM(ARM )29 #if ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) 30 30 31 31 #include "ARMAssembler.h" … … 391 391 } // namespace JSC 392 392 393 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM )393 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) -
trunk/JavaScriptCore/assembler/ARMAssembler.h
r47530 r48525 30 30 #include <wtf/Platform.h> 31 31 32 #if ENABLE(ASSEMBLER) && PLATFORM(ARM )32 #if ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) 33 33 34 34 #include "AssemblerBufferWithConstantPool.h" … … 765 765 } // namespace JSC 766 766 767 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM )767 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) 768 768 769 769 #endif // ARMAssembler_h -
trunk/JavaScriptCore/assembler/ARMv7Assembler.h
r48445 r48525 29 29 #include <wtf/Platform.h> 30 30 31 #if ENABLE(ASSEMBLER) && PLATFORM _ARM_ARCH(7)31 #if ENABLE(ASSEMBLER) && PLATFORM(ARM_THUMB2) 32 32 33 33 #include "AssemblerBuffer.h" … … 1754 1754 } // namespace JSC 1755 1755 1756 #endif // ENABLE(ASSEMBLER) && PLATFORM _ARM_ARCH(7)1756 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM_THUMB2) 1757 1757 1758 1758 #endif // ARMAssembler_h -
trunk/JavaScriptCore/assembler/MacroAssembler.h
r46059 r48525 31 31 #if ENABLE(ASSEMBLER) 32 32 33 #if PLATFORM _ARM_ARCH(7)33 #if PLATFORM(ARM_THUMB2) 34 34 #include "MacroAssemblerARMv7.h" 35 35 namespace JSC { typedef MacroAssemblerARMv7 MacroAssemblerBase; }; 36 36 37 #elif PLATFORM(ARM )37 #elif PLATFORM(ARM_TRADITIONAL) 38 38 #include "MacroAssemblerARM.h" 39 39 namespace JSC { typedef MacroAssemblerARM MacroAssemblerBase; }; -
trunk/JavaScriptCore/assembler/MacroAssemblerARM.cpp
r48389 r48525 27 27 #include "config.h" 28 28 29 #if ENABLE(ASSEMBLER) && PLATFORM(ARM ) && !PLATFORM_ARM_ARCH(7)29 #if ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) 30 30 31 31 #include "MacroAssemblerARM.h" … … 65 65 } 66 66 67 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM ) && !PLATFORM_ARM_ARCH(7)67 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) -
trunk/JavaScriptCore/assembler/MacroAssemblerARM.h
r48389 r48525 31 31 #include <wtf/Platform.h> 32 32 33 #if ENABLE(ASSEMBLER) && PLATFORM(ARM ) && !PLATFORM_ARM_ARCH(7)33 #if ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) 34 34 35 35 #include "ARMAssembler.h" … … 798 798 } 799 799 800 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM ) && !PLATFORM_ARM_ARCH(7)800 #endif // ENABLE(ASSEMBLER) && PLATFORM(ARM_TRADITIONAL) 801 801 802 802 #endif // MacroAssemblerARM_h -
trunk/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
r46247 r48525 38 38 // ASSERT_VALID_CODE_POINTER checks that ptr is a non-null pointer, and that it is a valid 39 39 // instruction address on the platform (for example, check any alignment requirements). 40 #if PLATFORM _ARM_ARCH(7)40 #if PLATFORM(ARM_THUMB2) 41 41 // ARM/thumb instructions must be 16-bit aligned, but all code pointers to be loaded 42 42 // into the processor are decorated with the bottom bit set, indicating that this is … … 125 125 126 126 explicit MacroAssemblerCodePtr(void* value) 127 #if PLATFORM _ARM_ARCH(7)127 #if PLATFORM(ARM_THUMB2) 128 128 // Decorate the pointer as a thumb code pointer. 129 129 : m_value(reinterpret_cast<char*>(value) + 1) … … 142 142 143 143 void* executableAddress() const { return m_value; } 144 #if PLATFORM _ARM_ARCH(7)144 #if PLATFORM(ARM_THUMB2) 145 145 // To use this pointer as a data address remove the decoration. 146 146 void* dataLocation() const { ASSERT_VALID_CODE_POINTER(m_value); return reinterpret_cast<char*>(m_value) - 1; }
Note:
See TracChangeset
for help on using the changeset viewer.