Ignore:
Timestamp:
Sep 6, 2008, 10:44:58 PM (17 years ago)
Author:
[email protected]
Message:

Merge squirrelfish-extreme to trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/SamplingTool.h

    r36036 r36244  
    4343    class CodeBlock;
    4444    struct Instruction;
     45
     46#if ENABLE(SAMPLING_TOOL)
     47extern OpcodeID what;
     48#endif
    4549
    4650    struct ScopeSampleRecord {
     
    109113            m_recordedCodeBlock = 0;
    110114            m_recordedVPC = 0;
     115#if ENABLE(SAMPLING_TOOL)
     116            what=(OpcodeID)-1;
     117#endif
    111118        }
    112119       
     
    135142#define MACHINE_SAMPLING_privateExecuteReturned() m_sampler->privateExecuteReturned()
    136143#define MACHINE_SAMPLING_callingHostFunction() m_sampler->callingHostFunction()
     144#define CTI_MACHINE_SAMPLING_callingHostFunction() machine->m_sampler->callingHostFunction()
    137145#else
    138146#define SCOPENODE_SAMPLING_notifyOfScope(sampler)
     
    140148#define MACHINE_SAMPLING_privateExecuteReturned()
    141149#define MACHINE_SAMPLING_callingHostFunction()
     150#define CTI_MACHINE_SAMPLING_callingHostFunction()
    142151#endif
    143152
Note: See TracChangeset for help on using the changeset viewer.