Changeset 218080 in webkit for trunk/Source/JavaScriptCore/tools
- Timestamp:
- Jun 11, 2017, 5:47:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/tools/CodeProfiling.cpp
r215318 r218080 71 71 static void profilingTimer(int, siginfo_t*, void* uap) 72 72 { 73 mcontext_t context = static_cast<ucontext_t*>(uap)->uc_mcontext;73 PlatformRegisters& platformRegisters = WTF::registersFromUContext(static_cast<ucontext_t*>(uap)); 74 74 CodeProfiling::sample( 75 MachineContext::instructionPointer( context),76 reinterpret_cast<void**>(MachineContext::framePointer( context)));75 MachineContext::instructionPointer(platformRegisters), 76 reinterpret_cast<void**>(MachineContext::framePointer(platformRegisters))); 77 77 } 78 78 #endif
Note:
See TracChangeset
for help on using the changeset viewer.