aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
parent90e7453e359c2ccaa5fb29dc29061510dffb94d3 (diff)
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 'lib')
-rw-r--r--lib/VMCore/Instruction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Instruction.cpp b/lib/VMCore/Instruction.cpp
index 8b833cf4bb..d5fe1c68e3 100644
--- a/lib/VMCore/Instruction.cpp
+++ b/lib/VMCore/Instruction.cpp
@@ -38,6 +38,7 @@ Instruction::addMachineInstruction(MachineInstr* minstr)
machineInstrVec->push_back(minstr);
}
+#if 0
// Dont make this inline because you would need to include
// MachineInstr.h in Instruction.h, which creates a circular
// sequence of forward declarations. Trying to fix that will
@@ -48,6 +49,7 @@ Instruction::getTempValuesForMachineCode() const
{
return machineInstrVec->getTempValues();
}
+#endif
void
Instruction::dropAllReferences() {