diff options
author | Tamas Berghammer <tberghammer@google.com> | 2017-08-16 11:45:10 +0000 |
---|---|---|
committer | Tamas Berghammer <tberghammer@google.com> | 2017-08-16 11:45:10 +0000 |
commit | bba2c83493c8c6293fc9518cbf9f672ae28cedc5 (patch) | |
tree | 1b103705a229b45488b90da4af3f9ccd95a41cdb /lldb/source/Symbol/JavaASTContext.cpp | |
parent | 91e55322b9930b6f2a1b439a1fa99f4f9ba90d4e (diff) | |
download | bcm5719-llvm-bba2c83493c8c6293fc9518cbf9f672ae28cedc5.tar.gz bcm5719-llvm-bba2c83493c8c6293fc9518cbf9f672ae28cedc5.zip |
Remove the DWARFExpression -> Clang ExpressionParser dependency
It was completly unused and broke the part of the encapsulation that
common code shouldn't depend on specific plugins or language specific
features.
llvm-svn: 311000
Diffstat (limited to 'lldb/source/Symbol/JavaASTContext.cpp')
-rw-r--r-- | lldb/source/Symbol/JavaASTContext.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lldb/source/Symbol/JavaASTContext.cpp b/lldb/source/Symbol/JavaASTContext.cpp index ae4e9d5134b..4260f497d90 100644 --- a/lldb/source/Symbol/JavaASTContext.cpp +++ b/lldb/source/Symbol/JavaASTContext.cpp @@ -134,9 +134,9 @@ public: obj_load_address.SetValueType(Value::eValueTypeLoadAddress); Value result; - if (m_dynamic_type_id.Evaluate(exe_ctx->GetBestExecutionContextScope(), - nullptr, nullptr, 0, &obj_load_address, - nullptr, result, nullptr)) { + if (m_dynamic_type_id.Evaluate(exe_ctx->GetBestExecutionContextScope(), 0, + &obj_load_address, nullptr, result, + nullptr)) { Status error; lldb::addr_t type_id_addr = result.GetScalar().UInt(); @@ -315,9 +315,8 @@ public: ExecutionContextScope *exec_ctx_scope = value_obj->GetExecutionContextRef() .Lock(true) .GetBestExecutionContextScope(); - if (m_length_expression.Evaluate(exec_ctx_scope, nullptr, nullptr, 0, - nullptr, &obj_load_address, result, - nullptr)) + if (m_length_expression.Evaluate(exec_ctx_scope, 0, nullptr, + &obj_load_address, result, nullptr)) return result.GetScalar().UInt(); return UINT32_MAX; |