Changeset 234528 in webkit for trunk/Source/JavaScriptCore/tools/CodeProfiling.cpp
- Timestamp:
- Aug 2, 2018, 5:14:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/tools/CodeProfiling.cpp
r230826 r234528 72 72 { 73 73 PlatformRegisters& platformRegisters = WTF::registersFromUContext(static_cast<ucontext_t*>(uap)); 74 CodeProfiling::sample( 75 MachineContext::instructionPointer(platformRegisters).untaggedExecutableAddress(), 76 reinterpret_cast<void**>(MachineContext::framePointer(platformRegisters))); 74 if (auto instructionPointer = MachineContext::instructionPointer(platformRegisters)) { 75 CodeProfiling::sample( 76 instructionPointer->untaggedExecutableAddress(), 77 reinterpret_cast<void**>(MachineContext::framePointer(platformRegisters))); 78 } 77 79 } 78 80 #endif
Note:
See TracChangeset
for help on using the changeset viewer.