mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-24 07:35:04 +00:00
Fix this to use the right block ID
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36550 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a9df8eee0
commit
01b27458a1
@ -485,8 +485,6 @@ static void WriteInstruction(const Instruction &I, ValueEnumerator &VE,
|
||||
BitstreamWriter &Stream,
|
||||
SmallVector<unsigned, 64> &Vals) {
|
||||
return; // FIXME: REMOVE
|
||||
|
||||
|
||||
unsigned Code = 0;
|
||||
unsigned AbbrevToUse = 0;
|
||||
switch (I.getOpcode()) {
|
||||
@ -524,7 +522,7 @@ static void WriteInstruction(const Instruction &I, ValueEnumerator &VE,
|
||||
/// WriteFunction - Emit a function body to the module stream.
|
||||
static void WriteFunction(const Function &F, ValueEnumerator &VE,
|
||||
BitstreamWriter &Stream) {
|
||||
Stream.EnterSubblock(bitc::TYPE_SYMTAB_BLOCK_ID, 3);
|
||||
Stream.EnterSubblock(bitc::FUNCTION_BLOCK_ID, 3);
|
||||
VE.incorporateFunction(F);
|
||||
|
||||
SmallVector<unsigned, 64> Vals;
|
||||
|
Loading…
x
Reference in New Issue
Block a user