Changeset 146869 in webkit
- Timestamp:
- Mar 26, 2013 4:52:01 AM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r146847 r146869 1 2013-03-26 Csaba Osztrogonác <ossy@webkit.org> 2 3 Fix unused parameter warnings in JITInlines.h 4 https://bugs.webkit.org/show_bug.cgi?id=112560 5 6 Reviewed by Zoltan Herczeg. 7 8 * jit/JITInlines.h: 9 (JSC::JIT::beginUninterruptedSequence): 10 (JSC::JIT::endUninterruptedSequence): 11 (JSC): 12 1 13 2013-03-25 Kent Tamura <tkent@chromium.org> 2 14 -
trunk/Source/JavaScriptCore/jit/JITInlines.h
r144137 r146869 137 137 #endif 138 138 139 #if defined(ASSEMBLER_HAS_CONSTANT_POOL) && ASSEMBLER_HAS_CONSTANT_POOL140 139 #ifndef NDEBUG 141 140 m_uninterruptedInstructionSequenceBegin = label(); 142 141 m_uninterruptedConstantSequenceBegin = sizeOfConstantPool(); 143 142 #endif 144 #endif145 143 } 146 144 147 145 ALWAYS_INLINE void JIT::endUninterruptedSequence(int insnSpace, int constSpace, int dst) 148 146 { 149 UNUSED_PARAM(dst); 150 #if defined(ASSEMBLER_HAS_CONSTANT_POOL) && ASSEMBLER_HAS_CONSTANT_POOL 147 #ifndef NDEBUG 151 148 /* There are several cases when the uninterrupted sequence is larger than 152 149 * maximum required offset for pathing the same sequence. Eg.: if in a … … 156 153 * constSpace should be upper limit instead of hard limit. 157 154 */ 155 158 156 #if CPU(SH4) 159 157 if ((dst > 15) || (dst < -16)) { … … 164 162 if (((dst >= -16) && (dst < 0)) || ((dst > 7) && (dst <= 15))) 165 163 insnSpace += 8; 166 #endif 164 #else 165 UNUSED_PARAM(dst); 166 #endif 167 167 168 ASSERT(differenceBetween(m_uninterruptedInstructionSequenceBegin, label()) <= insnSpace); 168 169 ASSERT(sizeOfConstantPool() - m_uninterruptedConstantSequenceBegin <= constSpace); 169 #endif 170 } 171 172 #endif 170 #else 171 UNUSED_PARAM(insnSpace); 172 UNUSED_PARAM(constSpace); 173 UNUSED_PARAM(dst); 174 #endif 175 } 176 177 #endif // ASSEMBLER_HAS_CONSTANT_POOL 173 178 174 179 ALWAYS_INLINE void JIT::updateTopCallFrame()
Note: See TracChangeset
for help on using the changeset viewer.