aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/gen/PPC64.rules
diff options
context:
space:
mode:
authorDan Scales <danscales@google.com>2021-09-17 12:18:19 -0700
committerDan Scales <danscales@google.com>2021-09-17 22:41:29 +0000
commit50e450826916c777a7d61edab52793ed77314f7a (patch)
treea75d7806057adb3a31f4c4a72b3075c43c594deb /src/cmd/compile/internal/ssa/gen/PPC64.rules
parent3fa35b5f9741d7d1c9a9e047057c7210da04fbba (diff)
downloadgo-50e450826916c777a7d61edab52793ed77314f7a.tar.gz
go-50e450826916c777a7d61edab52793ed77314f7a.zip
cmd/compile: fix import/export of Init and Def fields.
Change so that the Init and Def fields of assignments and OSELREVC2 nodes are exported/imported properly. A quirk of iimport.go is that it automatically converts an ODCL node to an ODCL/OAS sequence (where the OAS is to just zero out the declared variable). Given that the Inits are properly fixed, o.stmt needs adjustment for the OSELRECV2 case to skip over the new OAS nodes that are inserted only on re-import. Change-Id: Ic38017efca4b7ca9b3952ffbbfca067380902b7a Reviewed-on: https://go-review.googlesource.com/c/go/+/350809 Run-TryBot: Dan Scales <danscales@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Trust: Dan Scales <danscales@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/gen/PPC64.rules')
0 files changed, 0 insertions, 0 deletions