GitLab will be upgraded to the 12.10.14-ce.0 on 28 Sept 2020 at 2.00pm (AEDT) to 2.30pm (AEDT). During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to us at N110 (b) CSIT building.

Commit be144f4f authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Fixed broken test

parent 087fd433
...@@ -2471,8 +2471,6 @@ impl CodeGenerator for ASMCodeGen { ...@@ -2471,8 +2471,6 @@ impl CodeGenerator for ASMCodeGen {
mangle_name(func) mangle_name(func)
}; };
let mut ret = ret;
ret.push(LR.clone());
let asm = format!("/*CALL*/ B {}", func); let asm = format!("/*CALL*/ B {}", func);
self.internal_call(callsite, asm, pe, args, ret, None, may_return) self.internal_call(callsite, asm, pe, args, ret, None, may_return)
} }
...@@ -2516,8 +2514,6 @@ impl CodeGenerator for ASMCodeGen { ...@@ -2516,8 +2514,6 @@ impl CodeGenerator for ASMCodeGen {
may_return: bool may_return: bool
) -> Option<ValueLocation> { ) -> Option<ValueLocation> {
trace_emit!("\tBR {}({:?})", func, args); trace_emit!("\tBR {}({:?})", func, args);
let mut ret = ret;
ret.push(LR.clone());
let (reg1, id1, loc1) = self.prepare_reg(func, 3 + 1); let (reg1, id1, loc1) = self.prepare_reg(func, 3 + 1);
let asm = format!("/*CALL*/ BR {}", reg1); let asm = format!("/*CALL*/ BR {}", reg1);
......
...@@ -1593,7 +1593,7 @@ impl<'a> InstructionSelection { ...@@ -1593,7 +1593,7 @@ impl<'a> InstructionSelection {
// emit a call to swap_back_to_native_stack(sp_loc: Address) // emit a call to swap_back_to_native_stack(sp_loc: Address)
self.emit_runtime_entry( self.emit_runtime_entry(
&entrypoints::MUENTRY_THREAD_EXIT, &entrypoints::THREAD_EXIT,
vec![tl.clone()], vec![tl.clone()],
None, None,
Some(node), Some(node),
......
...@@ -100,16 +100,16 @@ fn test_types_sigs_loading() { ...@@ -100,16 +100,16 @@ fn test_types_sigs_loading() {
let id1 = ((*b).gen_sym)(b, csp.get("@i8")); let id1 = ((*b).gen_sym)(b, csp.get("@i8"));
let id2 = ((*b).gen_sym)(b, csp.get("@i32")); let id2 = ((*b).gen_sym)(b, csp.get("@i32"));
let id3 = ((*b).gen_sym)(b, csp.get("@pi32")); let id3 = ((*b).gen_sym)(b, csp.get("@pi32"));
let id4 = ((*b).gen_sym)(b, csp.get("@str1")); //let id4 = ((*b).gen_sym)(b, csp.get("@str1"));
let id5 = ((*b).gen_sym)(b, ptr::null_mut()); //let id5 = ((*b).gen_sym)(b, ptr::null_mut());
let id6 = ((*b).gen_sym)(b, csp.get("@str2")); let id6 = ((*b).gen_sym)(b, csp.get("@str2"));
let id7 = ((*b).gen_sym)(b, csp.get("@pstr2")); let id7 = ((*b).gen_sym)(b, csp.get("@pstr2"));
((*b).new_type_int)(b, id1, 8); ((*b).new_type_int)(b, id1, 8);
((*b).new_type_int)(b, id2, 32); ((*b).new_type_int)(b, id2, 32);
((*b).new_type_uptr)(b, id3, id2); ((*b).new_type_uptr)(b, id3, id2);
((*b).new_type_struct)(b, id4, ptr::null_mut(), 0); //((*b).new_type_struct)(b, id4, ptr::null_mut(), 0);
((*b).new_type_struct)(b, id5, ptr::null_mut(), 0); //((*b).new_type_struct)(b, id5, ptr::null_mut(), 0);
let mut fields = vec![id3, id7]; let mut fields = vec![id3, id7];
((*b).new_type_struct)(b, id6, fields.as_mut_ptr(), fields.len()); ((*b).new_type_struct)(b, id6, fields.as_mut_ptr(), fields.len());
......
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