summaryrefslogtreecommitdiff
path: root/include/llvm/Instruction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-21 20:04:10 +0000
committerChris Lattner <sabre@nondot.org>2001-07-21 20:04:10 +0000
commitcfad5df977f257299063309fa34f3c24831093c4 (patch)
treece0818ed39d08d29fa6e79a93a9ba5b71d4c3735 /include/llvm/Instruction.h
parent90e7453e359c2ccaa5fb29dc29061510dffb94d3 (diff)
downloadllvm-cfad5df977f257299063309fa34f3c24831093c4.tar.gz
llvm-cfad5df977f257299063309fa34f3c24831093c4.tar.bz2
llvm-cfad5df977f257299063309fa34f3c24831093c4.tar.xz
Remove getTempValuesForMachineCode from the Instruction interface
to remove dependency on <vector> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r--include/llvm/Instruction.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index fefc1a4ff1..54dcf603ef 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -8,7 +8,6 @@
#ifndef LLVM_INSTRUCTION_H
#define LLVM_INSTRUCTION_H
-#include <vector>
#include "llvm/User.h"
class Type;
@@ -48,10 +47,13 @@ public:
inline const BasicBlock *getParent() const { return Parent; }
inline BasicBlock *getParent() { return Parent; }
virtual bool hasSideEffects() const { return false; } // Memory & Call insts
- inline MachineCodeForVMInstr&
- getMachineInstrVec() { return *machineInstrVec; }
- const vector<Value*>&
- getTempValuesForMachineCode() const;
+
+ // ---------------------------------------------------------------------------
+ // Machine code accessors...
+ //
+ inline MachineCodeForVMInstr &getMachineInstrVec() {
+ return *machineInstrVec;
+ }
// ---------------------------------------------------------------------------
// Subclass classification... getInstType() returns a member of