[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:
Keith Randall 2015-06-04 15:18:27 -07:00
parent f7f604e284
commit 1114a76ae6
3 changed files with 11 additions and 5 deletions

View file

@ -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
}