Changeset 37316 in webkit for trunk/JavaScriptCore/VM/CTI.h
- Timestamp:
- Oct 5, 2008, 10:38:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.h
r37297 r37316 37 37 #include <wtf/AlwaysInline.h> 38 38 #include <wtf/Vector.h> 39 40 #if ENABLE(SAMPLING_TOOL)41 #include "SamplingTool.h"42 #endif43 39 44 40 #if COMPILER(MSVC) … … 260 256 static const int repatchOffsetGetByIdBranchToSlowCase = 25; 261 257 static const int repatchOffsetGetByIdPropertyMapOffset = 34; 258 #if ENABLE(SAMPLING_TOOL) 259 static const int repatchOffsetGetByIdSlowCaseCall = 27 + ctiArgumentInitSize; 260 #else 262 261 static const int repatchOffsetGetByIdSlowCaseCall = 17 + ctiArgumentInitSize; 262 #endif 263 263 264 264 public: … … 326 326 inline static JSValue* execute(void* code, RegisterFile* registerFile, Register* r, JSGlobalData* globalData, JSValue** exception) 327 327 { 328 JSValue* value = ctiTrampoline(code, registerFile, r, exception, Profiler::enabledProfilerReference(), globalData); 329 #if ENABLE(SAMPLING_TOOL) 330 currentOpcodeID = static_cast<OpcodeID>(-1); 331 #endif 332 return value; 328 return ctiTrampoline(code, registerFile, r, exception, Profiler::enabledProfilerReference(), globalData); 333 329 } 334 330
Note:
See TracChangeset
for help on using the changeset viewer.