mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
Renamed "Flush()" to "FlushRecord()".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -29,7 +29,7 @@ Serializer::~Serializer() {
|
||||
|
||||
while (BlockLevel > 0)
|
||||
Stream.ExitBlock();
|
||||
|
||||
|
||||
Stream.FlushToWord();
|
||||
}
|
||||
|
||||
@ -40,7 +40,7 @@ void Serializer::EmitRecord() {
|
||||
}
|
||||
|
||||
void Serializer::EnterBlock(unsigned BlockID,unsigned CodeLen) {
|
||||
Flush();
|
||||
FlushRecord();
|
||||
Stream.EnterSubblock(BlockID,CodeLen);
|
||||
++BlockLevel;
|
||||
}
|
||||
@ -48,7 +48,7 @@ void Serializer::EnterBlock(unsigned BlockID,unsigned CodeLen) {
|
||||
void Serializer::ExitBlock() {
|
||||
assert (BlockLevel > 0);
|
||||
--BlockLevel;
|
||||
Flush();
|
||||
FlushRecord();
|
||||
Stream.ExitBlock();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user