SwitchInst cosmetics: renamed "Hash" method to "hash"

llvm-svn: 156757
This commit is contained in:
Stepan Dyatkovskiy
2012-05-14 08:26:31 +00:00
parent c3fd480203
commit 3dea421826
3 changed files with 3 additions and 3 deletions

View File

@@ -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()));