| 1 |
// Copyright 2015 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
This command generates Go code (in the parent directory) for all |
| 6 |
the architecture-specific opcodes, blocks, and rewrites. See the |
| 7 |
"Hacking on SSA" section in the parent directory's README.md for |
| 8 |
more information. |
| 9 |
|
| 10 |
To regenerate everything, run "go generate" on the ssa package |
| 11 |
in the parent directory. |
| 12 |
|
| 13 |
The parent directory contains a test in generate_test.go that will fail |
| 14 |
if the generated files are not up-to-date, and to allow that test to |
| 15 |
run in no-network environments, golang.org/x/tools/go/ast/astutil is |
| 16 |
vendored. |