summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
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
commit3dea421826ff4d793de8515bb062a62fd32e0185 (patch)
treeadbf308b6f61a133b8a760aaafe59b4f9670ece2 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc3fd4802030b5fbbb6cf09f0ed5a4516766582d7 (diff)
downloadbcm5719-llvm-3dea421826ff4d793de8515bb062a62fd32e0185.tar.gz
bcm5719-llvm-3dea421826ff4d793de8515bb062a62fd32e0185.zip
SwitchInst cosmetics: renamed "Hash" method to "hash"
llvm-svn: 156757
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index ae250ebe16d..9557a44992c 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<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()));
OpenPOWER on IntegriCloud