mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
LibJS: Convert the PutValue AO to ThrowCompletionOr
This commit is contained in:
parent
390a04a985
commit
1aaaf521b8
6 changed files with 58 additions and 101 deletions
|
@ -274,7 +274,8 @@ void SetVariable::execute_impl(Bytecode::Interpreter& interpreter) const
|
|||
if (vm.exception())
|
||||
return;
|
||||
|
||||
reference.put_value(interpreter.global_object(), interpreter.accumulator());
|
||||
// TODO: ThrowCompletionOr<void> return
|
||||
(void)reference.put_value(interpreter.global_object(), interpreter.accumulator());
|
||||
}
|
||||
|
||||
void GetById::execute_impl(Bytecode::Interpreter& interpreter) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue