Re: [go-nuts] Output format of IRNode.

2023-04-27 Thread Ian Lance Taylor
On Wed, Apr 26, 2023 at 4:21 PM Chris Zhang wrote: > > I am trying to dump certain IRNode in src/cmd/internal/ssagen/ssa.go file in > 1.19. Suppose n is an IRNode, then I tried `fmt.Printf(“%+v”, n)`, and I can > see something like > > .NAME-strong.u esc(no) Class:PPARAM Offset:24 OnStack

Re: [go-nuts] Output format of IRNode.

2023-04-26 Thread Kurtis Rader
This seems like an [XY Problem](https://xyproblem.info/). Tell us what problem you are trying to solve rather than the solution you attempted. On Wed, Apr 26, 2023 at 4:21 PM Chris Zhang wrote: > Dear all, > > I am trying to dump certain IRNode in *src/cmd/internal/ssagen/ssa.go* > file in

[go-nuts] Output format of IRNode.

2023-04-26 Thread Chris Zhang
Dear all, I am trying to dump certain IRNode in *src/cmd/internal/ssagen/ssa.go* file in 1.19. Suppose n is an IRNode , then I tried `*fmt.Printf(“%+v”, n)*`, and I can see something like *.NAME-strong.u esc(no) Class:PPARAM Offset:24