From 734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37 Mon Sep 17 00:00:00 2001 From: Stepan Dyatkovskiy Date: Mon, 14 May 2012 08:26:31 +0000 Subject: SwitchInst cosmetics: renamed "Hash" method to "hash" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156757 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bitcode/Writer/BitcodeWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp') diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index ae250ebe16..9557a44992 100644 --- a/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -1159,7 +1159,7 @@ static void WriteInstruction(const Instruction &I, unsigned InstID, Code = bitc::FUNC_CODE_INST_SWITCH; SwitchInst &SI = cast(I); - uint32_t SwitchRecordHeader = SI.Hash() | (SWITCH_INST_MAGIC << 16); + uint32_t SwitchRecordHeader = SI.hash() | (SWITCH_INST_MAGIC << 16); Vals64.push_back(SwitchRecordHeader); Vals64.push_back(VE.getTypeID(SI.getCondition()->getType())); -- cgit v1.2.3-18-g5258