Skip to content

Comments

Fix frame size after unwind rework#2836

Merged
cfallin merged 1 commit intobytecodealliance:mainfrom
uweigand:framesizefix
Apr 14, 2021
Merged

Fix frame size after unwind rework#2836
cfallin merged 1 commit intobytecodealliance:mainfrom
uweigand:framesizefix

Conversation

@uweigand
Copy link
Member

After the unwind rework (commit 2d5db92) the space used to save
clobbered registers now lies between the nominal SP and the FP.
Therefore, the size of that space should now be included in the
frame size as reported by frame_size(), since this value is used
to compute the nominal_sp_to_fp offset.

After the unwind rework (commit 2d5db92) the space used to save
clobbered registers now lies between the nominal SP and the FP.
Therefore, the size of that space should now be included in the
frame size as reported by frame_size(), since this value is used
to compute the nominal_sp_to_fp offset.
@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:machinst Issues related to instruction selection and the new MachInst backend. labels Apr 14, 2021
Copy link
Member

@cfallin cfallin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch -- thank you!

@cfallin cfallin merged commit fd4bfbe into bytecodealliance:main Apr 14, 2021
@uweigand uweigand deleted the framesizefix branch April 14, 2021 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:area:machinst Issues related to instruction selection and the new MachInst backend. cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants