Implement Pos() method for
Values: Parameter, Capture, Phi. (Not Literal, Builtin.)
Instructions: UnOp, BinOp, Store.
'address' (an lvalue) now needs position of '*' in "*addr".
Also:
- Un-export fields Pos_ Type_ Name_ Block_ from various values/instructions.
Define NewFunction() as a temporary measure.
Will try to eliminate calls from clients...
- Remove Implements{Value,Member,Interface} marker methods.
I've decided I don't like them.
- Func.addParamObj helper.
- Various comment fixes.
R=gri
CC=golang-dev
https://golang.org/cl/9740046
|
||
|---|---|---|
| .. | ||
| testdata | ||
| external.go | ||
| external_plan9.go | ||
| external_unix.go | ||
| external_windows.go | ||
| interp.go | ||
| interp_test.go | ||
| map.go | ||
| ops.go | ||
| reflect.go | ||
| value.go | ||