summaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/dataflow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/gofrontend/dataflow.cc')
-rw-r--r--gcc/go/gofrontend/dataflow.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/dataflow.cc b/gcc/go/gofrontend/dataflow.cc
index 8170d0ac18e..94f26286b50 100644
--- a/gcc/go/gofrontend/dataflow.cc
+++ b/gcc/go/gofrontend/dataflow.cc
@@ -49,7 +49,7 @@ get_var(Expression* expr)
if (ve == NULL)
return NULL;
Named_object* no = ve->named_object();
- gcc_assert(no->is_variable() || no->is_result_variable());
+ go_assert(no->is_variable() || no->is_result_variable());
if (no->is_variable() && no->var_value()->is_global())
return NULL;
return no;
@@ -103,7 +103,7 @@ Dataflow_traverse_assignment::initialize_variable(Named_object* var)
{
Expression* e = init;
this->value(&e, true, true);
- gcc_assert(e == init);
+ go_assert(e == init);
}
}