Changeset 44886 in webkit for trunk/JavaScriptCore/assembler
- Timestamp:
- Jun 19, 2009, 6:07:06 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/assembler
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/assembler/ARMv7Assembler.h
r44713 r44886 29 29 #include <wtf/Platform.h> 30 30 31 #if ENABLE(ASSEMBLER) && PLATFORM (ARM_V7)31 #if ENABLE(ASSEMBLER) && PLATFORM_ARM_ARCH(7) 32 32 33 33 #include "AssemblerBuffer.h" … … 1754 1754 } // namespace JSC 1755 1755 1756 #endif // ENABLE(ASSEMBLER) && PLATFORM (ARM_V7)1756 #endif // ENABLE(ASSEMBLER) && PLATFORM_ARM_ARCH(7) 1757 1757 1758 1758 #endif // ARMAssembler_h -
trunk/JavaScriptCore/assembler/AbstractMacroAssembler.h
r44713 r44886 176 176 explicit Imm32(int32_t value) 177 177 : m_value(value) 178 #if PLATFORM (ARM_V7)178 #if PLATFORM_ARM_ARCH(7) 179 179 , m_isPointer(false) 180 180 #endif … … 185 185 explicit Imm32(ImmPtr ptr) 186 186 : m_value(ptr.asIntptr()) 187 #if PLATFORM (ARM_V7)187 #if PLATFORM_ARM_ARCH(7) 188 188 , m_isPointer(true) 189 189 #endif … … 193 193 194 194 int32_t m_value; 195 #if PLATFORM (ARM_V7)195 #if PLATFORM_ARM_ARCH(7) 196 196 // We rely on being able to regenerate code to recover exception handling 197 197 // information. Since ARMv7 supports 16-bit immediates there is a danger -
trunk/JavaScriptCore/assembler/MacroAssembler.h
r44514 r44886 31 31 #if ENABLE(ASSEMBLER) 32 32 33 #if PLATFORM (ARM_V7)33 #if PLATFORM_ARM_ARCH(7) 34 34 #include "MacroAssemblerARMv7.h" 35 35 namespace JSC { typedef MacroAssemblerARMv7 MacroAssemblerBase; }; -
trunk/JavaScriptCore/assembler/MacroAssemblerCodeRef.h
r44711 r44886 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_V7)40 #if PLATFORM_ARM_ARCH(7) 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_V7)127 #if PLATFORM_ARM_ARCH(7) 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_V7)144 #if PLATFORM_ARM_ARCH(7) 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.