mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Emit module-level constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,15 +35,13 @@ public:
|
||||
// For each value, we remember its Value* and occurrence frequency.
|
||||
typedef std::vector<std::pair<const Value*, unsigned> > ValueList;
|
||||
private:
|
||||
TypeList Types;
|
||||
|
||||
typedef DenseMap<const Type*, unsigned> TypeMapType;
|
||||
TypeMapType TypeMap;
|
||||
TypeList Types;
|
||||
|
||||
ValueList Values;
|
||||
|
||||
typedef DenseMap<const Value*, unsigned> ValueMapType;
|
||||
ValueMapType ValueMap;
|
||||
ValueList Values;
|
||||
|
||||
|
||||
ValueEnumerator(const ValueEnumerator &); // DO NOT IMPLEMENT
|
||||
@@ -63,7 +61,7 @@ public:
|
||||
return I->second-1;
|
||||
}
|
||||
|
||||
|
||||
const ValueList &getValues() const { return Values; }
|
||||
const TypeList &getTypes() const { return Types; }
|
||||
|
||||
/// incorporateFunction/purgeFunction - If you'd like to deal with a function,
|
||||
|
Reference in New Issue
Block a user