summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-10-04 09:33:04 +0000
committerSam McCall <sam.mccall@gmail.com>2019-10-04 09:33:04 +0000
commit4128dc4500693beb29e4f7cdf3f548c27bebbb9a (patch)
treeb1132d5de234203e14703cc58935f0b2f863bea1 /lldb/scripts/Python
parente667401055edf85d663d8f76df7440613046d0e9 (diff)
downloadbcm5719-llvm-4128dc4500693beb29e4f7cdf3f548c27bebbb9a.tar.gz
bcm5719-llvm-4128dc4500693beb29e4f7cdf3f548c27bebbb9a.zip
[lldb] Fix typo in r373675
llvm-svn: 373719
Diffstat (limited to 'lldb/scripts/Python')
-rw-r--r--lldb/scripts/Python/python-wrapper.swig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-wrapper.swig b/lldb/scripts/Python/python-wrapper.swig
index b2984e6ddc2..b84b21ae23e 100644
--- a/lldb/scripts/Python/python-wrapper.swig
+++ b/lldb/scripts/Python/python-wrapper.swig
@@ -288,7 +288,7 @@ LLDBSwigPythonCreateScriptedThreadPlan
Py_RETURN_NONE;
}
result = pfunc(tp_arg, dict);
- } else if (init_num_args = 4) {
+ } else if (init_num_args == 4) {
lldb::SBStructuredData *args_value = new lldb::SBStructuredData(args_impl);
PythonObject args_arg(PyRefType::Owned, SBTypeToSWIGWrapper(args_value));
result = pfunc(tp_arg, args_arg, dict);
OpenPOWER on IntegriCloud