diff options
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index a20431848e..7c347a43ca 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -529,7 +529,7 @@ private: unsigned currentOptionalArgsSize; unsigned maxOptionalArgsSize; unsigned currentTmpValuesSize; - hash_set<const ConstPoolVal*> constantsForConstPool; + hash_set<const Constant*> constantsForConstPool; hash_map<const Value*, int> offsets; // hash_map<const Value*, int> offsetsFromSP; @@ -572,7 +572,7 @@ public: inline unsigned getMaxOptionalArgsSize() const { return maxOptionalArgsSize;} inline unsigned getCurrentOptionalArgsSize() const { return currentOptionalArgsSize;} - inline const hash_set<const ConstPoolVal*>& + inline const hash_set<const Constant*>& getConstantPoolValues() const {return constantsForConstPool;} // @@ -580,7 +580,7 @@ public: // void initializeFrameLayout (const TargetMachine& target); - void addToConstantPool (const ConstPoolVal* constVal) + void addToConstantPool (const Constant* constVal) { constantsForConstPool.insert(constVal); } inline void markAsLeafMethod() { compiledAsLeaf = true; } |