Browse Source

machinst x64: remove spurious assertion about FP offset requiring to be 16-bytes aligned

pull/2034/head
Benjamin Bouvier 4 years ago
parent
commit
55b9059954
  1. 1
      cranelift/codegen/src/isa/x64/abi.rs

1
cranelift/codegen/src/isa/x64/abi.rs

@ -195,7 +195,6 @@ impl X64ABIBody {
if self.call_conv.extends_baldrdash() {
let num_words = self.flags.baldrdash_prologue_words() as i64;
debug_assert!(num_words > 0, "baldrdash must set baldrdash_prologue_words");
debug_assert_eq!(num_words % 2, 0, "stack must be 16-aligned");
num_words * 8
} else {
16 // frame pointer + return address.

Loading…
Cancel
Save