mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 09:01:53 +00:00
LibJS: Mark exception path [[unlikely]] in ordinary_call_evaluate_body()
This commit is contained in:
parent
58925887ce
commit
0f1be720bb
Notes:
github-actions[bot]
2025-04-29 00:10:39 +00:00
Author: https://github.com/awesomekling
Commit: 0f1be720bb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4513
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue