diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-06-07 08:06:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-06-07 08:06:08 +0000 |
commit | d8a5e488d5a4df076006e84e2ad3e31b74501e13 (patch) | |
tree | db265491db6a8c91c1c94eb36b112f7fe6c22c8a /gcc/go | |
parent | 26127932dd7394a8d1cc0c1f55e1de064ba175c0 (diff) | |
download | gcc-d8a5e488d5a4df076006e84e2ad3e31b74501e13.zip gcc-d8a5e488d5a4df076006e84e2ad3e31b74501e13.tar.gz gcc-d8a5e488d5a4df076006e84e2ad3e31b74501e13.tar.bz2 |
compiler: Fix taking address of field of local variable.
From-SVN: r188299
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/gofrontend/expressions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/expressions.h b/gcc/go/gofrontend/expressions.h index d58e6c5..156cf3c 100644 --- a/gcc/go/gofrontend/expressions.h +++ b/gcc/go/gofrontend/expressions.h @@ -1888,6 +1888,10 @@ class Field_reference_expression : public Expression do_is_addressable() const { return this->expr_->is_addressable(); } + void + do_address_taken(bool escapes) + { this->expr_->address_taken(escapes); } + tree do_get_tree(Translate_context*); |