summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2012-05-14 08:26:31 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2012-05-14 08:26:31 +0000
commit734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37 (patch)
treeff18541bd22d2ce548677d849f4b010bb8db60fb /lib/Bitcode/Writer
parent1fefd099cf58ac46a77b84da47877f8ba5315626 (diff)
downloadllvm-734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37.tar.gz
llvm-734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37.tar.bz2
llvm-734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37.tar.xz
SwitchInst cosmetics: renamed "Hash" method to "hash"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
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<SwitchInst>(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()));