Changeset 239427 in webkit for trunk/Source/JavaScriptCore/dfg/DFGJITCode.cpp
- Timestamp:
- Dec 19, 2018, 8:41:11 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGJITCode.cpp
r231175 r239427 226 226 } 227 227 228 std::optional<CodeOrigin> JITCode::findPC(CodeBlock*, void* pc)228 Optional<CodeOrigin> JITCode::findPC(CodeBlock*, void* pc) 229 229 { 230 230 for (OSRExit& exit : osrExit) { 231 231 if (ExecutableMemoryHandle* handle = exit.m_code.executableMemory()) { 232 232 if (handle->start().untaggedPtr() <= pc && pc < handle->end().untaggedPtr()) 233 return std::optional<CodeOrigin>(exit.m_codeOriginForExitProfile);233 return Optional<CodeOrigin>(exit.m_codeOriginForExitProfile); 234 234 } 235 235 } 236 236 237 return std::nullopt;237 return WTF::nullopt; 238 238 } 239 239
Note:
See TracChangeset
for help on using the changeset viewer.