Merge pull request #2449 from bytecodealliance/cfallin/add-pre-host-hooks
Add FuncEnvironment hooks to generate prologue and epilogue code.
This commit is contained in:
@@ -104,7 +104,7 @@ impl UnwindInfoGenerator<Inst> for AArch64UnwindInfo {
|
||||
|
||||
// TODO epilogues
|
||||
|
||||
let prologue_size = if context.prologue.is_empty() {
|
||||
let prologue_size = if context.prologue.len() == 0 {
|
||||
0
|
||||
} else {
|
||||
context.insts_layout[context.prologue.end as usize - 1]
|
||||
|
||||
Reference in New Issue
Block a user