Changeset 143408 in webkit


Ignore:
Timestamp:
Feb 19, 2013 4:42:22 PM (11 years ago)
Author:
oliver@apple.com
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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r143394 r143408  
     12013-02-19  Oliver Hunt  <oliver@apple.com>
     2
     3        Don't force everything to be blinded in debug builds
     4        https://bugs.webkit.org/show_bug.cgi?id=110279
     5
     6        Reviewed by Mark Hahnenberg.
     7
     8        Switch to an explicit flag for indicating that we want
     9        every constant to be blinded.
     10
     11        * assembler/MacroAssembler.h:
     12        (JSC::MacroAssembler::shouldBlind):
     13
    1142013-02-19  Filip Pizlo  <fpizlo@apple.com>
    215
  • 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.