diff options
author | Ted Kremenek <kremenek@apple.com> | 2007-11-06 19:49:50 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2007-11-06 19:49:50 +0000 |
commit | 620f926a77bb417c43651573d347f06fd8f7abd4 (patch) | |
tree | 43bb4ca097b02e6f8db023faee3afe82ecea1091 /lib/Bitcode | |
parent | fd2f7e7dc52af01b6ebb972a268b0435c01eb7a6 (diff) | |
download | external_llvm-620f926a77bb417c43651573d347f06fd8f7abd4.zip external_llvm-620f926a77bb417c43651573d347f06fd8f7abd4.tar.gz external_llvm-620f926a77bb417c43651573d347f06fd8f7abd4.tar.bz2 |
Renamed "Flush()" to "FlushRecord()".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43772 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Writer/Serialize.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Bitcode/Writer/Serialize.cpp b/lib/Bitcode/Writer/Serialize.cpp index f25a154..8e3bb1b 100644 --- a/lib/Bitcode/Writer/Serialize.cpp +++ b/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(); } |