summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRDynamicChecks.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-10-11 22:00:52 +0000
committerSean Callanan <scallanan@apple.com>2012-10-11 22:00:52 +0000
commit95769bf4899712e641fb52ac6965e520623009a7 (patch)
tree1259a8c8ddc6651b6b4a2cc4aa1257a6ed3b4ffb /lldb/source/Expression/IRDynamicChecks.cpp
parent8c9e94119682db6ffbfe4b5803b40e9bf6525394 (diff)
downloadbcm5719-llvm-95769bf4899712e641fb52ac6965e520623009a7.tar.gz
bcm5719-llvm-95769bf4899712e641fb52ac6965e520623009a7.zip
Fixed the IR interaction layer to deal with a
change in the LLDB target data API. llvm-svn: 165754
Diffstat (limited to 'lldb/source/Expression/IRDynamicChecks.cpp')
-rw-r--r--lldb/source/Expression/IRDynamicChecks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRDynamicChecks.cpp b/lldb/source/Expression/IRDynamicChecks.cpp
index 364220ae820..02006bb2414 100644
--- a/lldb/source/Expression/IRDynamicChecks.cpp
+++ b/lldb/source/Expression/IRDynamicChecks.cpp
@@ -280,7 +280,7 @@ protected:
llvm::Value *BuildPointerValidatorFunc(lldb::addr_t start_address)
{
IntegerType *intptr_ty = llvm::Type::getIntNTy(m_module.getContext(),
- (m_module.getPointerSize(0) == llvm::Module::Pointer64) ? 64 : 32);
+ (m_module.getPointerSize() == llvm::Module::Pointer64) ? 64 : 32);
llvm::Type *param_array[1];
@@ -307,7 +307,7 @@ protected:
llvm::Value *BuildObjectCheckerFunc(lldb::addr_t start_address)
{
IntegerType *intptr_ty = llvm::Type::getIntNTy(m_module.getContext(),
- (m_module.getPointerSize(0) == llvm::Module::Pointer64) ? 64 : 32);
+ (m_module.getPointerSize() == llvm::Module::Pointer64) ? 64 : 32);
llvm::Type *param_array[2];
OpenPOWER on IntegriCloud