This patch adds invoke related functionality into StatepointSite classes. Uses of it will follow up in the next few patches shortly.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Some style cleanup needed. Comments inline.
include/llvm/IR/Statepoint.h | ||
---|---|---|
32 | If we have the versions that take Value's, why do we need versions which take Instructions? Shouldn't the later match the former? | |
202 | Doxygen comment please | |
218 | Add a comment here. This combines both call statepoints and the normal path of invokes right? | |
272 | Make this an early return to reduce indentation. | |
273 | LandingPad please |
Ping?
include/llvm/IR/Statepoint.h | ||
---|---|---|
32 | Because in case if we will pass Instruction* it will be converted into ImmutableCallSite instead of the Value*. Anyway on a second thought I figured out nicer way to express this in the code - check updated diff. |
LGTM, I assume you'd like me to commit on your behalf? If so, I'll do so in the morning.
If we have the versions that take Value's, why do we need versions which take Instructions? Shouldn't the later match the former?