diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-05-14 08:26:31 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-05-14 08:26:31 +0000 |
commit | 3dea421826ff4d793de8515bb062a62fd32e0185 (patch) | |
tree | adbf308b6f61a133b8a760aaafe59b4f9670ece2 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | c3fd4802030b5fbbb6cf09f0ed5a4516766582d7 (diff) | |
download | bcm5719-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.cpp | 2 |
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())); |