mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
add support for incorporating and purging functions to the value enumerator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -43,6 +43,9 @@ private:
|
||||
ValueMapType ValueMap;
|
||||
ValueList Values;
|
||||
|
||||
/// When a function is incorporated, this is the size of the Values list
|
||||
/// before incorporation.
|
||||
unsigned ModuleLevel;
|
||||
|
||||
ValueEnumerator(const ValueEnumerator &); // DO NOT IMPLEMENT
|
||||
void operator=(const ValueEnumerator &); // DO NOT IMPLEMENT
|
||||
@@ -72,7 +75,7 @@ public:
|
||||
/// incorporateFunction/purgeFunction - If you'd like to deal with a function,
|
||||
/// use these two methods to get its data into the ValueEnumerator!
|
||||
///
|
||||
void incorporateFunction(const Function *F);
|
||||
void incorporateFunction(const Function &F);
|
||||
void purgeFunction();
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user