summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-15 21:56:33 +0000
committerChris Lattner <sabre@nondot.org>2004-11-15 21:56:33 +0000
commit9b457e1c7367b750bea36bb7d02890f9c01ae9df (patch)
tree1f5daf1477055fb18f5104e41d4a76dbaedd87e2 /llvm/lib/Bytecode
parent7d04cdab7760a8e40bc851ad32380389a4d2611a (diff)
downloadbcm5719-llvm-9b457e1c7367b750bea36bb7d02890f9c01ae9df.tar.gz
bcm5719-llvm-9b457e1c7367b750bea36bb7d02890f9c01ae9df.zip
Disable this change, it was premature
llvm-svn: 17857
Diffstat (limited to 'llvm/lib/Bytecode')
-rw-r--r--llvm/lib/Bytecode/Writer/Writer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Bytecode/Writer/Writer.cpp b/llvm/lib/Bytecode/Writer/Writer.cpp
index 2550d107c3e..7d578f966e1 100644
--- a/llvm/lib/Bytecode/Writer/Writer.cpp
+++ b/llvm/lib/Bytecode/Writer/Writer.cpp
@@ -942,12 +942,12 @@ void BytecodeWriter::outputInstructions(const Function *F) {
}
void BytecodeWriter::outputFunction(const Function *F) {
- // If this is an external function, there is nothing else to emit!
- if (F->isExternal()) return;
-
BytecodeBlock FunctionBlock(BytecodeFormat::FunctionBlockID, *this);
output_vbr(getEncodedLinkage(F));
+ // If this is an external function, there is nothing else to emit!
+ if (F->isExternal()) return;
+
// Get slot information about the function...
Table.incorporateFunction(F);
OpenPOWER on IntegriCloud