mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 20:23:59 +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:
@ -46,6 +46,10 @@ public:
|
|||||||
return Constants.size()-1;
|
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; }
|
const std::vector<Constant*> &getConstants() const { return Constants; }
|
||||||
|
|
||||||
/// print - Used by the MachineFunction printer to print information about
|
/// print - Used by the MachineFunction printer to print information about
|
||||||
|
Reference in New Issue
Block a user