Remove getTempValuesForMachineCode from the Instruction interface
[oota-llvm.git] / include / llvm / Instruction.h
index fefc1a4ff1b8894981a2b55f1f2d9c53bd31f48e..54dcf603ef6cae06edc24fff9967f04cea74699d 100644 (file)
@@ -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