summaryrefslogtreecommitdiff
path: root/include/llvm/DebugInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/DebugInfo.h')
-rw-r--r--include/llvm/DebugInfo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 70b1ef37ce..8601f5532b 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -143,8 +143,7 @@ namespace llvm {
explicit DISubrange(const MDNode *N = 0) : DIDescriptor(N) {}
uint64_t getLo() const { return getUInt64Field(1); }
- uint64_t getHi() const { return getUInt64Field(2); }
- int64_t getCount() const { return getInt64Field(3); }
+ int64_t getCount() const { return getInt64Field(2); }
};
/// DIArray - This descriptor holds an array of descriptors.