aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-10-09 01:34:31 +0000
committerJohn McCall <rjmccall@apple.com>2010-10-09 01:34:31 +0000
commit189d6ef40eff11b83b2cda941d5ed89a5cef09b2 (patch)
treeb3ed268c2a51e3b69a2da8173a7de925861ed445 /lib/CodeGen/CGDebugInfo.h
parent59705aee3fe01aa6fb6962dd11350161b47983d9 (diff)
Permit constant evaluation of const floating-point variables with
constant initializers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.h')
-rw-r--r--lib/CodeGen/CGDebugInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h
index 0c33fb396b..e36712c197 100644
--- a/lib/CodeGen/CGDebugInfo.h
+++ b/lib/CodeGen/CGDebugInfo.h
@@ -186,7 +186,7 @@ public:
void EmitGlobalVariable(llvm::GlobalVariable *GV, ObjCInterfaceDecl *Decl);
/// EmitGlobalVariable - Emit global variable's debug info.
- void EmitGlobalVariable(const ValueDecl *VD, llvm::ConstantInt *Init);
+ void EmitGlobalVariable(const ValueDecl *VD, llvm::Constant *Init);
/// getOrCreateRecordType - Emit record type's standalone debug info.
llvm::DIType getOrCreateRecordType(QualType Ty, SourceLocation L);