Address code review feedback.

This commit is contained in:
Peter Huene
2020-05-21 15:51:55 -07:00
parent 78c3091e84
commit 2cd5ed1880
2 changed files with 7 additions and 22 deletions

View File

@@ -163,6 +163,7 @@ pub(crate) fn create_unwind_info(
assert_eq!(fpr_save_count, xmm_save_count);
// Account for alignment space when there's an odd number of GPR pushes
// Assumption: an FPR (16 bytes) is twice the size of a GPR (8 bytes), hence the (rounded-up) integer division
frame_register_offset = fpr_save_count + ((gpr_push_count + 1) / 2);
}