aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-01-05 18:38:38 +0000
committerDevang Patel <dpatel@apple.com>2009-01-05 18:38:38 +0000
commitc69bf2c832386140d6606eef3febf2d3aa7a64f0 (patch)
tree1f6a50acdab328b907bb9ae31f02e089376f1516 /include
parentdfd19ddcfa7568d2118fbc3c6da612295200c31c (diff)
downloadexternal_llvm-c69bf2c832386140d6606eef3febf2d3aa7a64f0.zip
external_llvm-c69bf2c832386140d6606eef3febf2d3aa7a64f0.tar.gz
external_llvm-c69bf2c832386140d6606eef3febf2d3aa7a64f0.tar.bz2
Construct enumerator DIE using DebugInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Analysis/DebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index fac86b3..c97cb26 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -126,7 +126,7 @@ namespace llvm {
explicit DIEnumerator(GlobalVariable *GV = 0);
std::string getName() const { return getStringField(1); }
- uint64_t getLanguage() const { return getUInt64Field(2); }
+ uint64_t getEnumValue() const { return getUInt64Field(2); }
};
/// DIType - This is a wrapper for a type.