Changeset 58911 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
May 6, 2010, 3:19:42 PM (15 years ago)
Author:
[email protected]
Message:

Windows build fix.

  • bytecode/SamplingTool.cpp:

(JSC::SamplingFlags::sample): Use a cast, so Windows will be happy when
this code is enabled.

  • wtf/Platform.h: Reverted last change to this file, which seems to have

been accidental.

Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r58907 r58911  
     12010-05-06  Geoffrey Garen  <[email protected]>
     2
     3        Windows build fix.
     4
     5        * bytecode/SamplingTool.cpp:
     6        (JSC::SamplingFlags::sample): Use a cast, so Windows will be happy when
     7        this code is enabled.
     8        * wtf/Platform.h: Reverted last change to this file, which seems to have
     9        been accidental.
     10
    1112010-05-06  Gavin Barraclough  <[email protected]>
    212
  • trunk/JavaScriptCore/bytecode/SamplingTool.cpp

    r57925 r58911  
    4444void SamplingFlags::sample()
    4545{
    46     uint32_t mask = 1 << 31;
     46    uint32_t mask = static_cast<uint32_t>(1 << 31);
    4747    unsigned index;
    4848
  • trunk/JavaScriptCore/wtf/Platform.h

    r58907 r58911  
    860860#endif
    861861
    862 #define ENABLE_DEBUG_WITH_BREAKPOINT 0
    863 #define ENABLE_SAMPLING_COUNTERS 1
    864 #define ENABLE_SAMPLING_FLAGS 1
     862#define ENABLE_SAMPLING_COUNTERS 0
     863#define ENABLE_SAMPLING_FLAGS 0
    865864#define ENABLE_OPCODE_SAMPLING 0
    866865#define ENABLE_CODEBLOCK_SAMPLING 0
Note: See TracChangeset for help on using the changeset viewer.