Commit 4202cd93 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Fixed minor errors

parent e9c4386b
Pipeline #1206 failed with stages
in 23 minutes and 55 seconds
......@@ -858,7 +858,7 @@ impl Instruction_ {
if vals.len() == 0 {
format!("RET")
} else if vals.len() == 1 {
format!("RET {}", ops[vals[1]])
format!("RET {}", ops[vals[0]])
} else {
format!("RET ({})", op_vector_str(vals, ops))
}
......
......@@ -188,7 +188,7 @@ fn create_spill1() -> VM {
typedef! ((vm) funcref_spill1 = mu_funcref(spill1_sig));
constdef! ((vm) <funcref_spill1> const_funcref_spill1 =
Constant::FuncRef(spill1.hdr.clone()));
Constant::FuncRef(spill1.clone()));
// %entry(<@int_64> %t1, t2, ... t10):
block! ((vm, spill1_v1) blk_entry);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment