Changeset 58907 in webkit for trunk/JavaScriptCore/wtf/Platform.h


Ignore:
Timestamp:
May 6, 2010, 1:47:22 PM (15 years ago)
Author:
[email protected]
Message:

Add compile switch to make debugger keyword plant breakpoint instructions.

Reviewed by Oliver Hunt.

  • bytecompiler/BytecodeGenerator.cpp:

(JSC::BytecodeGenerator::emitDebugHook):

  • jit/JITOpcodes.cpp:

(JSC::JIT::emit_op_debug):

  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

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