GitLab will continue to be upgraded from 11.4.5-ce.0 on November 25th 2019 at 4.00pm (AEDT) to 5.00pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available.

Commit 0e1bf645 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Working? workardound for infinite loop

parent 6622dea7
Pipeline #709 passed with stages
in 28 minutes and 14 seconds
......@@ -2053,7 +2053,7 @@ impl CodeGenerator for ASMCodeGen {
fn emit_frame_shrink(&mut self) {
trace!("emit: \tframe shrink");
let asm = format!("ADD SP,SP,#{}", FRAME_SIZE_PLACEHOLDER.clone());
let asm = format!("ADD SP,SP,#{}; MOV SP, X29", FRAME_SIZE_PLACEHOLDER.clone());
let line = self.line();
self.cur_mut().add_frame_size_patchpoint(ASMLocation::new(line, 11, FRAME_SIZE_PLACEHOLDER_LEN, 0));
......
......@@ -3739,13 +3739,13 @@ impl <'a> InstructionSelection {
}
// Pop the frame record
//self.backend.emit_frame_shrink();
self.backend.emit_frame_shrink();
//self.backend.emit_mov(&SP, &FP);
//self.backend.emit_pop_pair(&FP, &LR, &SP);
self.backend.emit_pop_pair(&FP, &LR, &SP);
// Note: the stack pointer should now be what it was when the function was called
//self.backend.emit_ret(&LR); // return to the Link Register
self.backend.emit_fake_ret();
self.backend.emit_ret(&LR); // return to the Link Register
//self.backend.emit_fake_ret();
self.finish_block();
}
......
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