Skip to content
Commit adbf58dc authored by Daniel Sanders's avatar Daniel Sanders
Browse files

[tablegen] Use hasPredCode()/hasImmCode() instead of...

[tablegen] Use hasPredCode()/hasImmCode() instead of getPredCode().empty()/getImmCode().empty(). NFC

These are cheaper ways of testing for the presence of code than generating the C++ code and testing it's empty.

llvm-svn: 315872
parent 6d989436
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment