mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
add a helper method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
efb4bf0de6
commit
1ed38fb9a7
@ -46,6 +46,10 @@ public:
|
||||
return Constants.size()-1;
|
||||
}
|
||||
|
||||
/// isEmpty - Return true if this constant pool contains no constants.
|
||||
///
|
||||
bool isEmpty() const { return Constants.empty(); }
|
||||
|
||||
const std::vector<Constant*> &getConstants() const { return Constants; }
|
||||
|
||||
/// print - Used by the MachineFunction printer to print information about
|
||||
|
Loading…
x
Reference in New Issue
Block a user