From 3dea421826ff4d793de8515bb062a62fd32e0185 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" llvm-svn: 156757 --- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp') diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index ae250eb..9557a44 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/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.1