Changeset 48905 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.h
- Timestamp:
- Sep 29, 2009, 2:48:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.h
r47412 r48905 106 106 void getArgumentsData(CallFrame*, JSFunction*&, ptrdiff_t& firstParameterIndex, Register*& argv, int& argc); 107 107 108 void setSampler(SamplingTool* sampler) { m_sampler = sampler; } 109 SamplingTool* sampler() { return m_sampler; } 108 SamplingTool* sampler() { return m_sampler.get(); } 110 109 111 110 NEVER_INLINE JSValue callEval(CallFrame*, RegisterFile*, Register* argv, int argc, int registerOffset, JSValue& exceptionValue); … … 113 112 NEVER_INLINE void debug(CallFrame*, DebugHookID, int firstLine, int lastLine); 114 113 114 void dumpSampleData(ExecState* exec); 115 void startSampling(); 116 void stopSampling(); 115 117 private: 116 118 enum ExecutionFlag { Normal, InitializeAndReturn }; … … 150 152 bool isCallBytecode(Opcode opcode) { return opcode == getOpcode(op_call) || opcode == getOpcode(op_construct) || opcode == getOpcode(op_call_eval); } 151 153 152 SamplingTool* m_sampler; 154 void enableSampler(); 155 int m_sampleEntryDepth; 156 OwnPtr<SamplingTool> m_sampler; 153 157 154 158 int m_reentryDepth;
Note:
See TracChangeset
for help on using the changeset viewer.