diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-26 17:49:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-26 17:49:55 +0000 |
commit | 0fc0c1d3e13beb5a38a65ba018de75252aa11492 (patch) | |
tree | 5bba21581cfb0ffadd101be117e81622211cbd57 /include/llvm/Assembly/Writer.h | |
parent | b277d1d0e05c1712d2b5d20d103967ddb8843b9b (diff) | |
download | external_llvm-0fc0c1d3e13beb5a38a65ba018de75252aa11492.zip external_llvm-0fc0c1d3e13beb5a38a65ba018de75252aa11492.tar.gz external_llvm-0fc0c1d3e13beb5a38a65ba018de75252aa11492.tar.bz2 |
Change uses of Method to Function
Change uses of methodArgument to FunctionArgument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly/Writer.h')
-rw-r--r-- | include/llvm/Assembly/Writer.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index 5d5a746..a148c0b 100644 --- a/include/llvm/Assembly/Writer.h +++ b/include/llvm/Assembly/Writer.h @@ -19,11 +19,6 @@ #include <iostream> #include "llvm/Type.h" -class Module; -class GlobalVariable; -class Function; -class BasicBlock; -class Instruction; class SlotCalculator; // The only interface defined by this file... convert the internal @@ -100,10 +95,11 @@ inline std::ostream &operator<<(std::ostream &o, const Value *I) { switch (I->getValueType()) { case Value::TypeVal: return o << cast<const Type>(I); case Value::ConstantVal: WriteToAssembly(cast<Constant>(I) , o); break; - case Value::MethodArgumentVal: return o << I->getType() << " "<< I->getName(); + case Value::FunctionArgumentVal: + return o << I->getType() << " " << I->getName(); case Value::InstructionVal:WriteToAssembly(cast<Instruction>(I) , o); break; case Value::BasicBlockVal: WriteToAssembly(cast<BasicBlock>(I) , o); break; - case Value::MethodVal: WriteToAssembly(cast<Function>(I) , o); break; + case Value::FunctionVal: WriteToAssembly(cast<Function>(I) , o); break; case Value::GlobalVariableVal: WriteToAssembly(cast<GlobalVariable>(I), o); break; case Value::ModuleVal: WriteToAssembly(cast<Module>(I) , o); break; |