aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/expressions.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/go/gofrontend/expressions.h')
-rw-r--r--gcc/go/gofrontend/expressions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/expressions.h b/gcc/go/gofrontend/expressions.h
index 3527d7a..ea98fac 100644
--- a/gcc/go/gofrontend/expressions.h
+++ b/gcc/go/gofrontend/expressions.h
@@ -1068,6 +1068,11 @@ class Expression
static Expression*
unpack_direct_iface(Expression*, Location);
+ // Look through the expression of a Slice_value_expression's valmem to
+ // find an call to makeslice.
+ static std::pair<Call_expression*, Temporary_statement*>
+ find_makeslice_call(Expression*);
+
// Dump an expression to a dump constext.
void
dump_expression(Ast_dump_context*) const;