summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRInterpreter.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/IRInterpreter.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/IRInterpreter.cpp')
-rw-r--r--lldb/source/Expression/IRInterpreter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/IRInterpreter.cpp b/lldb/source/Expression/IRInterpreter.cpp
index 314f0b88c9c..421b4f9921a 100644
--- a/lldb/source/Expression/IRInterpreter.cpp
+++ b/lldb/source/Expression/IRInterpreter.cpp
@@ -425,7 +425,7 @@ public:
m_decl_map (decl_map)
{
m_byte_order = (target_data.isLittleEndian() ? lldb::eByteOrderLittle : lldb::eByteOrderBig);
- m_addr_byte_size = (target_data.getPointerSize());
+ m_addr_byte_size = (target_data.getPointerSize(0));
}
void Jump (const BasicBlock *bb)
@@ -1042,7 +1042,7 @@ IRInterpreter::runOnFunction (lldb::ClangExpressionVariableSP &result,
}
DataLayout target_data(&llvm_module);
- if (target_data.getPointerSize() != target_info.address_byte_size)
+ if (target_data.getPointerSize(0) != target_info.address_byte_size)
{
err.SetErrorToGenericError();
err.SetErrorString(interpreter_initialization_error);
OpenPOWER on IntegriCloud