aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/reflect/makefunc.go
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2013-09-27 21:34:24 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2013-09-27 21:34:24 +0000
commita84dbde7fc88361e23609be162ba138f96ef18e4 (patch)
tree5739741126da531c10676b0207ba687b63462abc /libgo/go/reflect/makefunc.go
parentea89b2482f97aa55e4d3fa4c57e0a6b2cdb69f64 (diff)
downloadgcc-a84dbde7fc88361e23609be162ba138f96ef18e4.zip
gcc-a84dbde7fc88361e23609be162ba138f96ef18e4.tar.gz
gcc-a84dbde7fc88361e23609be162ba138f96ef18e4.tar.bz2
reflect: Implement MakeFunc for 386.
From-SVN: r202993
Diffstat (limited to 'libgo/go/reflect/makefunc.go')
-rw-r--r--libgo/go/reflect/makefunc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/reflect/makefunc.go b/libgo/go/reflect/makefunc.go
index 7253a63..3e0a792 100644
--- a/libgo/go/reflect/makefunc.go
+++ b/libgo/go/reflect/makefunc.go
@@ -47,7 +47,7 @@ func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value {
}
switch runtime.GOARCH {
- case "amd64":
+ case "amd64", "386":
default:
panic("reflect.MakeFunc not implemented for " + runtime.GOARCH)
}