From 12ab9655524cede6f3c27ce1aa737b406f54917c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 29 Jan 2013 00:28:09 +0000 Subject: compiler: Correct initialization order determination. From-SVN: r195526 --- gcc/go/gofrontend/expressions.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gcc/go/gofrontend/expressions.h') 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 -- cgit v1.1