summaryrefslogtreecommitdiff
path: root/src/lib/net/net.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-05-06 17:06:06 -0700
committerRuss Cox <rsc@golang.org>2009-05-06 17:06:06 -0700
commitdc9dfef6774c63d00608773d2cfd611e0124ea33 (patch)
tree9ec55dd6149bade69d6a49a1c5e25912da4d503f /src/lib/net/net.go
parenta0f67319f0e580ecfa608b0eeb9a15ca871610f0 (diff)
downloadgolang-dc9dfef6774c63d00608773d2cfd611e0124ea33.tar.gz
6g: simplify trampoline by postponing load.
TEXT tramp MOVQ 8(SP), AX ADDQ $40, AX MOVQ AX, 8(SP) JMP oldfunc is now TEXT tramp ADDQ $40, 8(SP) JMP oldfunc and if s/40/0/, then it simplifies to TEXT tramp JMP oldfunc (the tramp is still needed to satisfy symbol references from other object files) R=ken OCL=28377 CL=28381
Diffstat (limited to 'src/lib/net/net.go')
0 files changed, 0 insertions, 0 deletions