Descriptionexp/ssa: a number of bug fixes.
ssadump:
- permit naming a package (not just *.go files) on command line.
- set BuildSerially flag when setting Log* flags
(Q. should instead the logging functions take a lock?)
Builder:
- fixed bug when calling variadic function with zero '...'-params.
Added regression test.
interp:
- more external functions:
the 'error' interface
bytes.{Equal,IndexByte}
reflect.(Value).{Bool,NumOut,Out}
syscall.{Close,Fstat,Read,Open,Stat,Lstat,Fstat,
Getdents,ParseDirents,Getwd}
- permit comparisons between *Function and *closure.
With this CL, ssadump can now interpret ssadump itself (!),
loading, parsing, typing, SSA-building, and running
println("Hello, World!"). While a fmt-based equivalent still
lacks some external routines, e.g. math/big, I think there are
diminishing returns in expanding the interpreter (and
debugging it is starting to feel like "Inception").
I'm pretty confident this package is now good enough for wider use.
Patch Set 1 #Patch Set 2 : diff -r f3e8dfc67e45 https://code.google.com/p/go/ #Patch Set 3 : diff -r f3e8dfc67e45 https://code.google.com/p/go/ #Patch Set 4 : diff -r f3e8dfc67e45 https://code.google.com/p/go/ #
Total comments: 8
Patch Set 5 : diff -r 1a366df36e95 https://code.google.com/p/go/ #
MessagesTotal messages: 5
|