[llvm-branch-commits] [llvm-branch] r96879 - /llvm/branches/Apple/Hermes/include/llvm/GlobalValue.h
Evan Cheng
evan.cheng at apple.com
Mon Feb 22 19:20:47 PST 2010
Author: evancheng
Date: Mon Feb 22 21:20:47 2010
New Revision: 96879
URL: http://llvm.org/viewvc/llvm-project?rev=96879&view=rev
Log:
Add GlobalValue::hasNotBeenReadFromBitcode() to provide backward compatibility.
Modified:
llvm/branches/Apple/Hermes/include/llvm/GlobalValue.h
Modified: llvm/branches/Apple/Hermes/include/llvm/GlobalValue.h
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hermes/include/llvm/GlobalValue.h?rev=96879&r1=96878&r2=96879&view=diff
==============================================================================
--- llvm/branches/Apple/Hermes/include/llvm/GlobalValue.h (original)
+++ llvm/branches/Apple/Hermes/include/llvm/GlobalValue.h Mon Feb 22 21:20:47 2010
@@ -173,6 +173,8 @@
/// to see if the function has been read in yet or not.
bool isMaterializable() const;
+ bool hasNotBeenReadFromBitcode() const { return isMaterializable(); }
+
/// isDematerializable - Returns true if this function was loaded from a
/// GVMaterializer that's still attached to its Module and that knows how to
/// dematerialize the function.
More information about the llvm-branch-commits
mailing list