Changeset 156780 in webkit for trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
- Timestamp:
- Oct 2, 2013, 11:17:46 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/AbstractMacroAssembler.h
r153228 r156780 35 35 #if ENABLE(ASSEMBLER) 36 36 37 38 #if PLATFORM(QT)39 #define ENABLE_JIT_CONSTANT_BLINDING 040 #endif41 42 #ifndef ENABLE_JIT_CONSTANT_BLINDING43 #define ENABLE_JIT_CONSTANT_BLINDING 144 #endif45 46 37 namespace JSC { 47 38 … … 230 221 }; 231 222 232 struct ImmPtr : 233 #if ENABLE(JIT_CONSTANT_BLINDING) 234 private TrustedImmPtr 235 #else 236 public TrustedImmPtr 237 #endif 223 struct ImmPtr : private TrustedImmPtr 238 224 { 239 225 explicit ImmPtr(const void* value) … … 270 256 271 257 272 struct Imm32 : 273 #if ENABLE(JIT_CONSTANT_BLINDING) 274 private TrustedImm32 275 #else 276 public TrustedImm32 277 #endif 278 { 258 struct Imm32 : private TrustedImm32 { 279 259 explicit Imm32(int32_t value) 280 260 : TrustedImm32(value) … … 315 295 }; 316 296 317 struct Imm64 : 318 #if ENABLE(JIT_CONSTANT_BLINDING) 319 private TrustedImm64 320 #else 321 public TrustedImm64 322 #endif 297 struct Imm64 : private TrustedImm64 323 298 { 324 299 explicit Imm64(int64_t value) … … 795 770 #endif 796 771 797 #if ENABLE(JIT_CONSTANT_BLINDING)798 772 static bool scratchRegisterForBlinding() { return false; } 799 773 static bool shouldBlindForSpecificArch(uint32_t) { return true; } 800 774 static bool shouldBlindForSpecificArch(uint64_t) { return true; } 801 #endif802 775 803 776 friend class LinkBuffer;
Note:
See TracChangeset
for help on using the changeset viewer.