summaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2001-11-08 04:38:58 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2001-11-08 04:38:58 +0000
commit4dea947926f166b91db700e5547336bdbfcec481 (patch)
tree57130ce4bcfbafebd535f07f12908df267041677 /include/llvm/Function.h
parent483c3ee18ec7105e4730b5c756bee2db5f586347 (diff)
downloadllvm-4dea947926f166b91db700e5547336bdbfcec481.tar.gz
llvm-4dea947926f166b91db700e5547336bdbfcec481.tar.bz2
llvm-4dea947926f166b91db700e5547336bdbfcec481.tar.xz
Removed MachineCodeForMethod object and made it an annotation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 66ea4d272e..a77deb6d7b 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -38,7 +38,6 @@ private:
// Important things that make up a method!
BasicBlocksType BasicBlocks; // The basic blocks
ArgumentListType ArgumentList; // The formal arguments
- MachineCodeForMethod* machineCode; // Access to the generated native code
friend class ValueHolder<Method, Module, Module>;
void setParent(Module *parent);
@@ -69,11 +68,6 @@ public:
inline const BasicBlock *getEntryNode() const { return front(); }
inline BasicBlock *getEntryNode() { return front(); }
- inline const MachineCodeForMethod
- &getMachineCode() const { return *machineCode;}
- inline MachineCodeForMethod
- &getMachineCode() { return *machineCode;}
-
//===--------------------------------------------------------------------===//
// BasicBlock iterator forwarding functions
//