Ignore:
Timestamp:
Feb 19, 2013, 4:42:22 PM (12 years ago)
Author:
[email protected]
Message:

Don't force everything to be blinded in debug builds
https://bugs.webkit.org/show_bug.cgi?id=110279

Reviewed by Mark Hahnenberg.

Switch to an explicit flag for indicating that we want
every constant to be blinded.

  • assembler/MacroAssembler.h:

(JSC::MacroAssembler::shouldBlind):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/assembler/MacroAssembler.h

    r143247 r143408  
    877877    bool shouldBlind(ImmPtr imm)
    878878    {
    879 #if !defined(NDEBUG)
     879#if ENABLE(FORCED_JIT_BLINDING)
    880880        UNUSED_PARAM(imm);
    881881        // Debug always blind all constants, if only so we know
     
    935935
    936936    bool shouldBlind(Imm64 imm)
    937     { 
    938 #if !defined(NDEBUG)
     937    {
     938#if ENABLE(FORCED_JIT_BLINDING)
    939939        UNUSED_PARAM(imm);
    940940        // Debug always blind all constants, if only so we know
     
    10741074#if ENABLE(JIT_CONSTANT_BLINDING)
    10751075    bool shouldBlind(Imm32 imm)
    1076     { 
    1077 #if !defined(NDEBUG)
     1076    {
     1077#if ENABLE(FORCED_JIT_BLINDING)
    10781078        UNUSED_PARAM(imm);
    10791079        // Debug always blind all constants, if only so we know
Note: See TracChangeset for help on using the changeset viewer.