Replace single use of Frame::with_parameters with Frame::set_all
This commit is contained in:
committed by
Benjamin Bouvier
parent
d73cb48c29
commit
6e7276e48d
@@ -112,7 +112,8 @@ impl Interpreter {
|
||||
.next()
|
||||
.expect("to have a first block");
|
||||
let parameters = function.dfg.block_params(first_block);
|
||||
let mut frame = Frame::new(function).with_parameters(parameters, arguments);
|
||||
let mut frame = Frame::new(function);
|
||||
frame.set_all(parameters, arguments.to_vec());
|
||||
self.block(&mut frame, first_block)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user