summaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer
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
commitfd7f8fea650dca227584322eb6bf8404f511ae19 (patch)
tree3b01d2ff7c18bf6dbc0da42ab65ac45d427398c9 /lib/Bytecode/Writer
parent3bdad6923eae8ce356ce9392e96707064fdf1bc3 (diff)
downloadllvm-fd7f8fea650dca227584322eb6bf8404f511ae19.tar.gz
llvm-fd7f8fea650dca227584322eb6bf8404f511ae19.tar.bz2
llvm-fd7f8fea650dca227584322eb6bf8404f511ae19.tar.xz
Disable this change, it was premature
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer')
-rw-r--r--lib/Bytecode/Writer/Writer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp
index 2550d107c3..7d578f966e 100644
--- a/lib/Bytecode/Writer/Writer.cpp
+++ b/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);