Page MenuHomePhabricator

getArgOperandNo helper function
AcceptedPublic

Authored by sstefan1 on Aug 27 2019, 4:12 PM.

Details

Reviewers
jdoerfert
uenoku
Summary

A helper function to get argument number of a arg operand Use.

Event Timeline

sstefan1 created this revision.Aug 27 2019, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 27 2019, 4:12 PM

Can you add a test? (just refactor some code to use this)

sstefan1 updated this revision to Diff 221204.Sat, Sep 21, 3:24 PM

small refactoring to use getArgOperandNo

jdoerfert accepted this revision.Mon, Sep 23, 1:40 AM

This looks fine but commit it only with the use (one patch maybe).

This revision is now accepted and ready to land.Mon, Sep 23, 1:40 AM

This looks fine but commit it only with the use (one patch maybe).

Should I find another use for the method, or is this one enough?