aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/GlobalValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/GlobalValue.h')
-rw-r--r--include/llvm/GlobalValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h
index 3b7f67d5d0..934d082914 100644
--- a/include/llvm/GlobalValue.h
+++ b/include/llvm/GlobalValue.h
@@ -172,7 +172,7 @@ public:
virtual bool isNullValue() const { return false; }
/// Override from Constant class.
- virtual void destroyConstant();
+ virtual void destroyConstant(bool locked = true);
/// isDeclaration - Return true if the primary definition of this global
/// value is outside of the current translation unit...