Changeset 47186 in webkit for trunk/JavaScriptCore/jit/JITInlineMethods.h
- Timestamp:
- Aug 12, 2009, 10:58:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITInlineMethods.h
r46831 r47186 103 103 } 104 104 105 #if defined(ASSEMBLER_HAS_CONSTANT_POOL) && ASSEMBLER_HAS_CONSTANT_POOL 106 107 ALWAYS_INLINE void JIT::beginUninterruptedSequence(int insnSpace, int constSpace) 108 { 109 #if PLATFORM(ARM) && !PLATFORM_ARM_ARCH(7) 110 #ifndef NDEBUG 111 // Ensure the label after the sequence can also fit 112 insnSpace += sizeof(ARMWord); 113 constSpace += sizeof(uint64_t); 114 #endif 115 116 ensureSpace(insnSpace, constSpace); 117 118 #endif 119 120 #if defined(ASSEMBLER_HAS_CONSTANT_POOL) && ASSEMBLER_HAS_CONSTANT_POOL 121 #ifndef NDEBUG 122 m_uninterruptedInstructionSequenceBegin = label(); 123 m_uninterruptedConstantSequenceBegin = sizeOfConstantPool(); 124 #endif 125 #endif 126 } 127 128 ALWAYS_INLINE void JIT::endUninterruptedSequence(int insnSpace, int constSpace) 129 { 130 #if defined(ASSEMBLER_HAS_CONSTANT_POOL) && ASSEMBLER_HAS_CONSTANT_POOL 131 ASSERT(differenceBetween(m_uninterruptedInstructionSequenceBegin, label()) == insnSpace); 132 ASSERT(sizeOfConstantPool() - m_uninterruptedConstantSequenceBegin == constSpace); 133 #endif 134 } 135 136 #endif 137 105 138 #if PLATFORM(X86) || PLATFORM(X86_64) || (PLATFORM(ARM) && !PLATFORM_ARM_ARCH(7)) 106 139
Note:
See TracChangeset
for help on using the changeset viewer.