Alan Donovan
|
b3dbe56610
|
go.tools/go/ssa: support 3-operand x[lo:hi:max] slices.
+ very basic test ($GOROOT/test/slice3.go needs unsafe.Pointer)
LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/60030043
|
2014-02-05 17:54:51 -05:00 |
Alan Donovan
|
4dcb74e810
|
go.tools/go/ssa/interp: implement reflection over callstack (now that we have access to it).
+ tests.
Fixes golang/go#6041
Also: move global var _sizes to a field of interpreter.
LGTM=gri
R=gri
CC=golang-codereviews
https://golang.org/cl/56530046
|
2014-01-27 15:39:17 -05:00 |
Alan Donovan
|
2845638157
|
go.tools/go/ssa: simplify builder.exprN now that go/types emits correct types.
(Follow-up to fix of issue 7060.)
Also: comment fixes.
R=gri
CC=golang-codereviews
https://golang.org/cl/47670043
|
2014-01-17 09:38:25 -05:00 |
Alan Donovan
|
9cfde22948
|
go.tools/ssa/interp: rewrite initorder test.
Correct, this time.
R=gri
CC=golang-codereviews
https://golang.org/cl/52930043
|
2014-01-16 14:08:04 -05:00 |
Alan Donovan
|
3fc0fc1310
|
go.tools: rename packages.
Was: Now:
ssa go/ssa
importer go/loader
pointer go/pointer
Next CL: call -> go/callgraph (requires more care)
R=gri, crawshaw
CC=golang-codereviews
https://golang.org/cl/52960043
|
2014-01-16 09:33:58 -05:00 |