This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Remove MachineFrameInfo arg from checking functions (NFC)
ClosedPublic

Authored by aheejin on Aug 22 2018, 11:43 AM.

Details

Summary

There are several functions in the form of has*** or needs*** in
WebAssemblyFrameLowering and its MachineFrameInfo argument can be
obtained from MachineFunction so it is not necessarily has to be
passed from a caller. Also, it is more in line with other overriden
fuctions like hasBP or hasReservedCallFrame, which also take only
MachineFunction argument.

Diff Detail

Event Timeline

aheejin created this revision.Aug 22 2018, 11:43 AM
dschuff accepted this revision.Aug 22 2018, 11:46 AM
This revision is now accepted and ready to land.Aug 22 2018, 11:46 AM
This revision was automatically updated to reflect the committed changes.