summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRForTarget.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-04-17 18:07:40 +0000
committerSean Callanan <scallanan@apple.com>2013-04-17 18:07:40 +0000
commit182bd6c0febb6e0312a6ac9162ee4113ca29deda (patch)
tree409c4ff755a054754e79ad83d0004937a026206d /lldb/source/Expression/IRForTarget.cpp
parent892cb486a41b5bf14bb3f40f9394b36a302dd369 (diff)
downloadbcm5719-llvm-182bd6c0febb6e0312a6ac9162ee4113ca29deda.tar.gz
bcm5719-llvm-182bd6c0febb6e0312a6ac9162ee4113ca29deda.zip
Made the IRInterpreter's methods static, since
it doesn't actually hold any important state. llvm-svn: 179702
Diffstat (limited to 'lldb/source/Expression/IRForTarget.cpp')
-rw-r--r--lldb/source/Expression/IRForTarget.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp
index 574078049d5..2b3618a53a7 100644
--- a/lldb/source/Expression/IRForTarget.cpp
+++ b/lldb/source/Expression/IRForTarget.cpp
@@ -2806,11 +2806,7 @@ IRForTarget::runOnModule (Module &llvm_module)
if (m_decl_map && m_execution_policy != lldb_private::eExecutionPolicyAlways)
{
- IRInterpreter interpreter (m_decl_map,
- m_memory_map,
- m_error_stream);
-
- interpreter.maybeRunOnFunction(m_const_result, m_result_name, m_result_type, *function, llvm_module, m_interpreter_error);
+ IRInterpreter::maybeRunOnFunction(m_decl_map, m_memory_map, m_error_stream,m_const_result, m_result_name, m_result_type, *function, llvm_module, m_interpreter_error);
if (m_interpreter_error.Success())
return true;
OpenPOWER on IntegriCloud