From e344bbbe84b9f4f26f21729b85c63a75e45bd5b1 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 6 Nov 2007 19:49:50 +0000 Subject: Renamed "Flush()" to "FlushRecord()". llvm-svn: 43772 --- llvm/lib/Bitcode/Writer/Serialize.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Bitcode/Writer') diff --git a/llvm/lib/Bitcode/Writer/Serialize.cpp b/llvm/lib/Bitcode/Writer/Serialize.cpp index f25a1542d37..8e3bb1b1aad 100644 --- a/llvm/lib/Bitcode/Writer/Serialize.cpp +++ b/llvm/lib/Bitcode/Writer/Serialize.cpp @@ -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(); } -- cgit v1.2.3