aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-29 03:51:11 +0000
committerChris Lattner <sabre@nondot.org>2002-03-29 03:51:11 +0000
commitc9aa7dfee4987dba9bf287ff5a747bc86fa21f3a (patch)
treee935cfcbdefcf293945465de8dd7f50dd48fdf0e /lib/Bytecode/Writer/Writer.cpp
parent6bfd6a578a3a4fa95c585c988ee712ba880f9923 (diff)
s/Method/Function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/Writer.cpp')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index a83bd1642c..af53ee5c0e 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/lib/Bytecode/Writer/Writer.cpp
@@ -150,7 +150,7 @@ void BytecodeWriter::outputModuleInfoBlock(const Module *M) {
}
void BytecodeWriter::processMethod(const Function *M) {
- BytecodeBlock FunctionBlock(BytecodeFormat::Method, Out);
+ BytecodeBlock FunctionBlock(BytecodeFormat::Function, Out);
output_vbr((unsigned)M->hasInternalLinkage(), Out);
// Only output the constant pool and other goodies if needed...
if (!M->isExternal()) {