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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/expressions.h b/gcc/go/gofrontend/expressions.h
index 43aaccf..af7b00c 100644
--- a/gcc/go/gofrontend/expressions.h
+++ b/gcc/go/gofrontend/expressions.h
@@ -1036,6 +1036,11 @@ class Expression
static Expression*
check_bounds(Expression* val, Location);
+ // Return an expression for constructing a direct interface type from a
+ // pointer.
+ static Expression*
+ pack_direct_iface(Type*, Expression*, Location);
+
// Dump an expression to a dump constext.
void
dump_expression(Ast_dump_context*) const;
@@ -1198,6 +1203,9 @@ class Expression
convert_type_to_interface(Type*, Expression*, Location);
static Expression*
+ unpack_direct_iface(Expression*, Location);
+
+ static Expression*
get_interface_type_descriptor(Expression*);
static Expression*