LibJS: Mark exception path [[unlikely]] in ordinary_call_evaluate_body()

This commit is contained in:
Andreas Kling 2025-04-28 21:25:02 +02:00 committed by Andreas Kling
parent 58925887ce
commit 0f1be720bb
Notes: github-actions[bot] 2025-04-29 00:10:39 +00:00

View file

@ -905,8 +905,9 @@ ThrowCompletionOr<Value> ECMAScriptFunctionObject::ordinary_call_evaluate_body(V
auto result_and_frame = vm.bytecode_interpreter().run_executable(*m_bytecode_executable, {});
if (result_and_frame.value.is_error())
if (result_and_frame.value.is_error()) [[unlikely]] {
return result_and_frame.value.release_error();
}
auto result = result_and_frame.value.release_value();