diff --git a/Userland/Libraries/LibJS/Runtime/VM.cpp b/Userland/Libraries/LibJS/Runtime/VM.cpp index ad020f2e81..24b1b4562c 100644 --- a/Userland/Libraries/LibJS/Runtime/VM.cpp +++ b/Userland/Libraries/LibJS/Runtime/VM.cpp @@ -1174,10 +1174,8 @@ static Optional get_source_range(ExecutionContext const* // JIT frame for (auto address : native_stack) { auto range = native_executable->get_source_range(*context->executable, address); - if (range.has_value()) { - auto realized = range->realize(); + if (range.has_value()) return range; - } } return {};