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/Reader/BitcodeReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp') diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 49b6e4f42ae1..4387f0999759 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -2280,7 +2280,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) { ConstantRangesSet Case = CaseBuilder.getCase(); SI->addCase(Case, DestBB); } - uint16_t Hash = SI->Hash(); + uint16_t Hash = SI->hash(); if (Hash != (Record[0] & 0xFFFF)) return Error("Invalid SWITCH record"); I = SI; -- cgit v1.2.3