aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Instructions.h
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 /include/llvm/Instructions.h
parent1fefd099cf58ac46a77b84da47877f8ba5315626 (diff)
downloadexternal_llvm-734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37.tar.gz
external_llvm-734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37.tar.bz2
external_llvm-734dde8e051d34ac34cc58eb31cf2e6fa3ac3f37.zip
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 'include/llvm/Instructions.h')
-rw-r--r--include/llvm/Instructions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h
index d934128e7d..a72bdc4907 100644
--- a/include/llvm/Instructions.h
+++ b/include/llvm/Instructions.h
@@ -2733,7 +2733,7 @@ public:
setOperand(idx*2+1, (Value*)NewSucc);
}
- uint16_t Hash() const {
+ uint16_t hash() const {
uint32_t NumberOfCases = (uint32_t)getNumCases();
uint16_t Hash = (0xFFFF & NumberOfCases) ^ (NumberOfCases >> 16);
for (ConstCaseIt i = case_begin(), e = case_end();