diff options
author | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:12:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-06-25 16:12:52 +0000 |
commit | 18961504fc2b299578dba817900a0696cf3ccc4d (patch) | |
tree | c34853ffc064b841932d0897e25305c81c3a7338 /include/llvm/CodeGen | |
parent | a2204e1ff25265a1da00ecbb3ebb22c05acf7194 (diff) | |
download | external_llvm-18961504fc2b299578dba817900a0696cf3ccc4d.zip external_llvm-18961504fc2b299578dba817900a0696cf3ccc4d.tar.gz external_llvm-18961504fc2b299578dba817900a0696cf3ccc4d.tar.bz2 |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/FunctionLiveVarInfo.h | 2 | ||||
-rw-r--r-- | include/llvm/CodeGen/ValueSet.h | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/FunctionLiveVarInfo.h b/include/llvm/CodeGen/FunctionLiveVarInfo.h index 816dd86..ee21d4f 100644 --- a/include/llvm/CodeGen/FunctionLiveVarInfo.h +++ b/include/llvm/CodeGen/FunctionLiveVarInfo.h @@ -98,7 +98,7 @@ public: // --------- Implement the FunctionPass interface ---------------------- // runOnFunction - Perform analysis, update internal data structures. - virtual bool runOnFunction(Function *F); + virtual bool runOnFunction(Function &F); // releaseMemory - After LiveVariable analysis has been used, forget! virtual void releaseMemory(); diff --git a/include/llvm/CodeGen/ValueSet.h b/include/llvm/CodeGen/ValueSet.h index 0c0aefa..88897bf 100644 --- a/include/llvm/CodeGen/ValueSet.h +++ b/include/llvm/CodeGen/ValueSet.h @@ -7,8 +7,9 @@ class Value; // RAV - Used to print values in a form used by the register allocator. // struct RAV { // Register Allocator Value - const Value *V; - RAV(const Value *v) : V(v) {} + const Value &V; + RAV(const Value *v) : V(*v) {} + RAV(const Value &v) : V(v) {} }; std::ostream &operator<<(std::ostream &out, RAV Val); |