Don't ask for a mode when we are not keeping the file.
[oota-llvm.git] / include / llvm / DebugInfo.h
index 01ff6342cff6e2142c19460f88b2153bdd2c41f1..947f4a656f26866b4cf28627705e7483a8d5ad90 100644 (file)
@@ -222,7 +222,7 @@ namespace llvm {
     explicit DIEnumerator(const MDNode *N = 0) : DIDescriptor(N) {}
 
     StringRef getName() const        { return getStringField(1); }
-    uint64_t getEnumValue() const      { return getUInt64Field(2); }
+    int64_t getEnumValue() const      { return getInt64Field(2); }
     bool Verify() const;
   };