summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2018-05-31 20:01:15 +0000
committerJason Molenda <jmolenda@apple.com>2018-05-31 20:01:15 +0000
commita6922415b163a46a860c93d4d4e042320363e7c7 (patch)
tree56447b1da5259ea614afcb0df16300b5ffcf6849
parent26368cd5d93887a02399df9f1708943638d32ff6 (diff)
downloadbcm5719-llvm-a6922415b163a46a860c93d4d4e042320363e7c7.tar.gz
bcm5719-llvm-a6922415b163a46a860c93d4d4e042320363e7c7.zip
Set m_struct_valid to initial value in ctor.
Patch from Tom Tromey <ttromey@mozilla.com>. Differential Revision: https://reviews.llvm.org/D47481 llvm-svn: 333690
-rw-r--r--lldb/source/Expression/FunctionCaller.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Expression/FunctionCaller.cpp b/lldb/source/Expression/FunctionCaller.cpp
index 08dbb712c3a..622d8017536 100644
--- a/lldb/source/Expression/FunctionCaller.cpp
+++ b/lldb/source/Expression/FunctionCaller.cpp
@@ -48,7 +48,8 @@ FunctionCaller::FunctionCaller(ExecutionContextScope &exe_scope,
m_function_return_type(return_type),
m_wrapper_function_name("__lldb_caller_function"),
m_wrapper_struct_name("__lldb_caller_struct"), m_wrapper_args_addrs(),
- m_arg_values(arg_value_list), m_compiled(false), m_JITted(false) {
+ m_struct_valid(false), m_arg_values(arg_value_list), m_compiled(false),
+ m_JITted(false) {
m_jit_process_wp = lldb::ProcessWP(exe_scope.CalculateProcess());
// Can't make a FunctionCaller without a process.
assert(m_jit_process_wp.lock());
OpenPOWER on IntegriCloud