mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
add support for incorporating and purging functions to the value enumerator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -478,10 +478,12 @@ static void WriteModuleConstants(const ValueEnumerator &VE,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// WriteFunction - Emit a function body to the module stream.
|
||||
static void WriteFunction(const Function &F, ValueEnumerator &VE,
|
||||
BitstreamWriter &Stream) {
|
||||
VE.incorporateFunction(F);
|
||||
|
||||
VE.purgeFunction();
|
||||
}
|
||||
|
||||
/// WriteTypeSymbolTable - Emit a block for the specified type symtab.
|
||||
|
Reference in New Issue
Block a user