From: Chris Lattner Date: Mon, 15 Nov 2004 21:56:33 +0000 (+0000) Subject: Disable this change, it was premature X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fd7f8fea650dca227584322eb6bf8404f511ae19;p=oota-llvm.git Disable this change, it was premature git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17857 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bytecode/Writer/Writer.cpp b/lib/Bytecode/Writer/Writer.cpp index 2550d107c3e..7d578f966e1 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);