no warnings or errors
This commit is contained in:
@@ -68,20 +68,6 @@ impl<'csg> PointInterpreter<'csg> {
|
||||
}
|
||||
}
|
||||
|
||||
fn param_four(
|
||||
&mut self,
|
||||
instruction: &SSAInstruction,
|
||||
func: impl Fn(Value, Value, Value, Value) -> Value,
|
||||
) {
|
||||
for i in 0..instruction.opcode.size as usize {
|
||||
let val_a = self.load(instruction.inputs[i]);
|
||||
let val_b = self.load(instruction.inputs[i + instruction.opcode.size as usize]);
|
||||
let val_c = self.load(instruction.inputs[i + (instruction.opcode.size * 2) as usize]);
|
||||
let val_d = self.load(instruction.inputs[i + (instruction.opcode.size * 3) as usize]);
|
||||
self.store(instruction.outputs[i], func(val_a, val_b, val_c, val_d));
|
||||
}
|
||||
}
|
||||
|
||||
// cargo asm "tape-drive::interpreter::PointInterpreter::scene" --no-color
|
||||
// --rust > scene.asm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user