Fix compiler bug
This commit is contained in:
parent
371a061b1c
commit
93f8f31b6d
@ -697,7 +697,7 @@ impl<'src> Compiler<'src> {
|
||||
) -> Result<(Operand, bool), CompileError> {
|
||||
let (argument, push_back) = match instruction.operation() {
|
||||
Operation::LOAD_CONSTANT => (Operand::Constant(instruction.b_field()), false),
|
||||
Operation::POINT => (Operand::Register(instruction.a_field()), false),
|
||||
Operation::POINT => (instruction.b_as_operand(), false),
|
||||
Operation::LOAD_BOOLEAN
|
||||
| Operation::LOAD_LIST
|
||||
| Operation::LOAD_SELF
|
||||
|
@ -99,10 +99,6 @@ pub fn load_function(instruction: InstructionBuilder, thread: &mut Thread) {}
|
||||
|
||||
pub fn load_self(instruction: InstructionBuilder, thread: &mut Thread) {}
|
||||
|
||||
pub fn get_local(instruction: InstructionBuilder, thread: &mut Thread) {}
|
||||
|
||||
pub fn set_local(instruction: InstructionBuilder, thread: &mut Thread) {}
|
||||
|
||||
pub fn add(instruction: InstructionBuilder, thread: &mut Thread) {}
|
||||
|
||||
pub fn subtract(instruction: InstructionBuilder, thread: &mut Thread) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user