From 95769bf4899712e641fb52ac6965e520623009a7 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Thu, 11 Oct 2012 22:00:52 +0000 Subject: Fixed the IR interaction layer to deal with a change in the LLDB target data API. llvm-svn: 165754 --- lldb/source/Expression/IRDynamicChecks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Expression/IRDynamicChecks.cpp') 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]; -- cgit v1.2.3