Message ID | mcraak6zdy0.fsf@google.com |
---|---|
State | New |
Headers | show |
diff -r 941f436a91ac go/expressions.h --- a/go/expressions.h Wed Dec 15 17:25:04 2010 -0800 +++ b/go/expressions.h Wed Dec 15 17:35:19 2010 -0800 @@ -1235,7 +1235,10 @@ Expression* do_copy() { - return Expression::make_call(this->fn_->copy(), this->args_->copy(), + return Expression::make_call(this->fn_->copy(), + (this->args_ == NULL + ? NULL + : this->args_->copy()), this->is_varargs_, this->location()); }