summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2015-10-26 08:49:04 +0000
committerSylvestre Ledru <sylvestre@debian.org>2015-10-26 08:49:04 +0000
commit4cfc9198616f535f3d3a0b6b3e9e5f8a2e76988f (patch)
treeafbb5a933899975348c16beeef4b4d617d6aa25d /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
parentf8e461f920c1217cc5e54e197ede061575275699 (diff)
downloadbcm5719-llvm-4cfc9198616f535f3d3a0b6b3e9e5f8a2e76988f.tar.gz
bcm5719-llvm-4cfc9198616f535f3d3a0b6b3e9e5f8a2e76988f.zip
Fix a build issue on Debian unstable. The compiler rejected the convertion to ‘bool’ from ‘std::nullptr_t’
llvm-svn: 251276
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
-rw-r--r--lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
index 3e18a40dbe5..ddc5bd70f9e 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
@@ -1522,7 +1522,7 @@ RenderScriptRuntime::LoadAllocation(Stream &strm, const uint32_t alloc_id, const
{
if (log)
log->Printf("RenderScriptRuntime::LoadAllocation - Couldn't JIT allocation details");
- return nullptr;
+ return false;
}
}
@@ -1637,7 +1637,7 @@ RenderScriptRuntime::SaveAllocation(Stream &strm, const uint32_t alloc_id, const
{
if (log)
log->Printf("RenderScriptRuntime::SaveAllocation - Couldn't JIT allocation details");
- return nullptr;
+ return false;
}
}
OpenPOWER on IntegriCloud