mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.ssa] cmd/compile/internal/ssa: Add dummy frontend for testing.
Change-Id: Ica26c0297ac7afeb0b5b668cf5f5cd1667c6cc43 Reviewed-on: https://go-review.googlesource.com/10699 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
f7f604e284
commit
1114a76ae6
3 changed files with 11 additions and 5 deletions
|
|
@ -8,3 +8,9 @@ var CheckFunc = checkFunc
|
|||
var PrintFunc = printFunc
|
||||
var Opt = opt
|
||||
var Deadcode = deadcode
|
||||
|
||||
type DummyFrontend struct{}
|
||||
|
||||
func (d DummyFrontend) StringSym(s string) interface{} {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue