go/src/cmd/compile/internal/ssa/export_test.go
Keith Randall 1114a76ae6 [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>
2015-06-04 22:26:22 +00:00

16 lines
364 B
Go

// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package ssa
var CheckFunc = checkFunc
var PrintFunc = printFunc
var Opt = opt
var Deadcode = deadcode
type DummyFrontend struct{}
func (d DummyFrontend) StringSym(s string) interface{} {
return nil
}