summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-07-16 12:20:31 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-07-16 12:20:31 +0000
commit8c3b4f2e78fb9e7c16a464062192f2796ab3650c (patch)
tree10c276b29a9963c43153870a716c198d637377c1 /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parent7d54fab8f0f40edf0846ca8058a27f814c6b27ff (diff)
downloadbcm5719-llvm-8c3b4f2e78fb9e7c16a464062192f2796ab3650c.tar.gz
bcm5719-llvm-8c3b4f2e78fb9e7c16a464062192f2796ab3650c.zip
Revert "Make ExecutionEngine owning a DataLayout"
Reverting to fix buildbot breakage. This reverts commit r242387. llvm-svn: 242394
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
index e738a8c65fe..9b44042d614 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
@@ -368,7 +368,7 @@ static GenericValue lle_X_sprintf(FunctionType *FT,
case 'x': case 'X':
if (HowLong >= 1) {
if (HowLong == 1 &&
- TheInterpreter->getDataLayout().getPointerSizeInBits() == 64 &&
+ TheInterpreter->getDataLayout()->getPointerSizeInBits() == 64 &&
sizeof(long) < sizeof(int64_t)) {
// Make sure we use %lld with a 64 bit argument because we might be
// compiling LLI on a 32 bit compiler.
OpenPOWER on IntegriCloud