fix ld printed as mov

pull/21/head
Ondřej Hruška 4 years ago
parent 34e339b1ca
commit 05104c93ca
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      crsn/src/builtin/exec.rs

@ -201,7 +201,7 @@ impl OpTrait for BuiltinOp {
} }
} }
BuiltinOp::Drop(obj) => sexp::list(&[A("drop"), A(obj)]), BuiltinOp::Drop(obj) => sexp::list(&[A("drop"), A(obj)]),
BuiltinOp::Move { dst, src } => sexp::list(&[A("mov"), A(dst), A(src)]), BuiltinOp::Move { dst, src } => sexp::list(&[A("ld"), A(dst), A(src)]),
BuiltinOp::StoreStatus { dst } => sexp::list(&[A("sst"), A(dst)]), BuiltinOp::StoreStatus { dst } => sexp::list(&[A("sst"), A(dst)]),
BuiltinOp::LoadStatus { src } => sexp::list(&[A("lst"), A(src)]) BuiltinOp::LoadStatus { src } => sexp::list(&[A("lst"), A(src)])
} }

Loading…
Cancel
Save