Changeset 36244 in webkit for trunk/JavaScriptCore/VM/SamplingTool.h
- Timestamp:
- Sep 6, 2008, 10:44:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/SamplingTool.h
r36036 r36244 43 43 class CodeBlock; 44 44 struct Instruction; 45 46 #if ENABLE(SAMPLING_TOOL) 47 extern OpcodeID what; 48 #endif 45 49 46 50 struct ScopeSampleRecord { … … 109 113 m_recordedCodeBlock = 0; 110 114 m_recordedVPC = 0; 115 #if ENABLE(SAMPLING_TOOL) 116 what=(OpcodeID)-1; 117 #endif 111 118 } 112 119 … … 135 142 #define MACHINE_SAMPLING_privateExecuteReturned() m_sampler->privateExecuteReturned() 136 143 #define MACHINE_SAMPLING_callingHostFunction() m_sampler->callingHostFunction() 144 #define CTI_MACHINE_SAMPLING_callingHostFunction() machine->m_sampler->callingHostFunction() 137 145 #else 138 146 #define SCOPENODE_SAMPLING_notifyOfScope(sampler) … … 140 148 #define MACHINE_SAMPLING_privateExecuteReturned() 141 149 #define MACHINE_SAMPLING_callingHostFunction() 150 #define CTI_MACHINE_SAMPLING_callingHostFunction() 142 151 #endif 143 152
Note:
See TracChangeset
for help on using the changeset viewer.