mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibJS: Convert the PutValue AO to ThrowCompletionOr
This commit is contained in:
committed by
Linus Groh
parent
390a04a985
commit
1aaaf521b8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user