Commit 73fc53c9 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Don't bother propagating garbage, just pass NULL

parent e3650a48
...@@ -3136,7 +3136,10 @@ Box* callFunc(BoxedFunctionBase* func, CallRewriteArgs* rewrite_args, ArgPassSpe ...@@ -3136,7 +3136,10 @@ Box* callFunc(BoxedFunctionBase* func, CallRewriteArgs* rewrite_args, ArgPassSpe
RELEASE_ASSERT(rewrite_args->args, ""); RELEASE_ASSERT(rewrite_args->args, "");
args_array->setAttr(0, rewrite_args->args); args_array->setAttr(0, rewrite_args->args);
} }
if (argspec.num_keywords)
args_array->setAttr(8, rewriter->loadConst((intptr_t)keyword_names)); args_array->setAttr(8, rewriter->loadConst((intptr_t)keyword_names));
else
args_array->setAttr(8, rewriter->loadConst(0));
RewriterVar::SmallVector arg_vec; RewriterVar::SmallVector arg_vec;
arg_vec.push_back(rewrite_args->obj); arg_vec.push_back(rewrite_args->obj);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment