aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/gofrontend/expressions.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-10-19 18:00:48 -0700
committerIan Lance Taylor <iant@golang.org>2023-10-23 14:07:53 -0700
commit45a5ab0503569e57883dca4d8e76d83dc3a60ff6 (patch)
tree3b71ffd6fc13f5ca67444894c6f17886e793141b /gcc/go/gofrontend/expressions.h
parentac50e9b72bf9bb6d5b28096bb164fb050db6e290 (diff)
downloadgcc-45a5ab0503569e57883dca4d8e76d83dc3a60ff6.zip
gcc-45a5ab0503569e57883dca4d8e76d83dc3a60ff6.tar.gz
gcc-45a5ab0503569e57883dca4d8e76d83dc3a60ff6.tar.bz2
compiler: pass gogo to Runtime::make_call
This is a boilerplate change to pass gogo to Runtime::make_call. It's not currently used but will be used by later CLs in this series. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/536640
Diffstat (limited to 'gcc/go/gofrontend/expressions.h')
-rw-r--r--gcc/go/gofrontend/expressions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/go/gofrontend/expressions.h b/gcc/go/gofrontend/expressions.h
index 49140d1..3b8ae68 100644
--- a/gcc/go/gofrontend/expressions.h
+++ b/gcc/go/gofrontend/expressions.h
@@ -1090,7 +1090,7 @@ class Expression
// interface type. If FOR_TYPE_GUARD is true this is for a type
// assertion.
static Expression*
- convert_interface_to_interface(Type* lhs_type,
+ convert_interface_to_interface(Gogo*, Type* lhs_type,
Expression* rhs, bool for_type_guard,
Location);
@@ -1125,9 +1125,9 @@ class Expression
// Insert bounds checks for an index expression.
static void
- check_bounds(Expression* val, Operator, Expression* bound, Runtime::Function,
+ check_bounds(Gogo*, Expression* val, Operator, Expression* bound,
Runtime::Function, Runtime::Function, Runtime::Function,
- Statement_inserter*, Location);
+ Runtime::Function, Statement_inserter*, Location);
// Return an expression for constructing a direct interface type from a
// pointer.