mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:17:35 +00:00
LibJS: Move throw_completion(Value) out of line
This allows us to instrument this function locally without rebuilding 1000+ files.
This commit is contained in:
parent
8a87f4fa20
commit
88b15b0819
2 changed files with 7 additions and 4 deletions
|
@ -302,9 +302,6 @@ inline Completion normal_completion(Optional<Value> value)
|
|||
}
|
||||
|
||||
// 6.2.3.3 ThrowCompletion ( value ), https://tc39.es/ecma262/#sec-throwcompletion
|
||||
inline Completion throw_completion(Value value)
|
||||
{
|
||||
return { Completion::Type::Throw, value, {} };
|
||||
}
|
||||
Completion throw_completion(Value);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue