Changeset 116233 in webkit for trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
- Timestamp:
- May 5, 2012, 10:27:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
r115141 r116233 222 222 explicit TrustedImm32(int32_t value) 223 223 : m_value(value) 224 #if CPU(ARM) || CPU(MIPS)225 , m_isPointer(false)226 #endif227 224 { 228 225 } … … 231 228 explicit TrustedImm32(TrustedImmPtr ptr) 232 229 : m_value(ptr.asIntptr()) 233 #if CPU(ARM) || CPU(MIPS)234 , m_isPointer(true)235 #endif236 230 { 237 231 } … … 239 233 240 234 int32_t m_value; 241 #if CPU(ARM) || CPU(MIPS)242 // We rely on being able to regenerate code to recover exception handling243 // information. Since ARMv7 supports 16-bit immediates there is a danger244 // that if pointer values change the layout of the generated code will change.245 // To avoid this problem, always generate pointers (and thus Imm32s constructed246 // from ImmPtrs) with a code sequence that is able to represent any pointer247 // value - don't use a more compact form in these cases.248 // Same for MIPS.249 bool m_isPointer;250 #endif251 235 }; 252 236
Note:
See TracChangeset
for help on using the changeset viewer.