diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-01-29 00:28:09 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-01-29 00:28:09 +0000 |
commit | 12ab9655524cede6f3c27ce1aa737b406f54917c (patch) | |
tree | 3116a655f079f6c96c8bc21c712270ddc3f3cf5c /gcc/go/gofrontend/expressions.h | |
parent | 670c28f56201211c011c7bd7e633db4d2eb4bce1 (diff) | |
download | gcc-12ab9655524cede6f3c27ce1aa737b406f54917c.zip gcc-12ab9655524cede6f3c27ce1aa737b406f54917c.tar.gz gcc-12ab9655524cede6f3c27ce1aa737b406f54917c.tar.bz2 |
compiler: Correct initialization order determination.
From-SVN: r195526
Diffstat (limited to 'gcc/go/gofrontend/expressions.h')
-rw-r--r-- | gcc/go/gofrontend/expressions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/expressions.h b/gcc/go/gofrontend/expressions.h index 152c223..af178de 100644 --- a/gcc/go/gofrontend/expressions.h +++ b/gcc/go/gofrontend/expressions.h @@ -983,6 +983,11 @@ class Temporary_reference_expression : public Expression statement_(statement), is_lvalue_(false) { } + // The temporary that this expression refers to. + Temporary_statement* + statement() const + { return this->statement_; } + // Indicate that this reference appears on the left hand side of an // assignment statement. void |