forked from OSchip/llvm-project
parent
7d04cdab77
commit
9b457e1c73
|
@ -942,12 +942,12 @@ void BytecodeWriter::outputInstructions(const Function *F) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BytecodeWriter::outputFunction(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);
|
BytecodeBlock FunctionBlock(BytecodeFormat::FunctionBlockID, *this);
|
||||||
output_vbr(getEncodedLinkage(F));
|
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...
|
// Get slot information about the function...
|
||||||
Table.incorporateFunction(F);
|
Table.incorporateFunction(F);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue