Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4)

Delta Between Two Patch Sets: src/cmd/link/testdata/genpcln.go

Issue 160200044: [dev.power64] code review 160200044: build: merge default into dev.power64 (Closed)
Left Patch Set: Created 10 years, 4 months ago
Right Patch Set: diff -r be0c14f62257b42485019e9e1db23cf40d2e249f https://code.google.com/p/go Created 10 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « src/cmd/link/testdata/dead.s ('k') | src/cmd/link/testdata/hello.6 » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 // Copyright 2014 The Go Authors. All rights reserved. 1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // This program generates a .s file using a pseudorandom 5 // This program generates a .s file using a pseudorandom
6 // value stream for the runtime function data. 6 // value stream for the runtime function data.
7 // The pclntab test checks that the linked copy 7 // The pclntab test checks that the linked copy
8 // still has the same pseudorandom value stream. 8 // still has the same pseudorandom value stream.
9 9
10 package main 10 package main
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 fmt.Printf("\tRET\n") 100 fmt.Printf("\tRET\n")
101 101
102 fmt.Printf("\n") 102 fmt.Printf("\n")
103 fmt.Printf("GLOBL funcdata%d(SB), $16\n", f) 103 fmt.Printf("GLOBL funcdata%d(SB), $16\n", f)
104 } 104 }
105 105
106 fmt.Printf("\nTEXT start(SB),7,$0\n") 106 fmt.Printf("\nTEXT start(SB),7,$0\n")
107 for f := 0; f < 3; f++ { 107 for f := 0; f < 3; f++ {
108 fmt.Printf("\tCALL func%d(SB)\n", f) 108 fmt.Printf("\tCALL func%d(SB)\n", f)
109 } 109 }
110 » fmt.Printf("\tMOVQ $pclntab(SB), AX\n") 110 » fmt.Printf("\tMOVQ $runtime·pclntab(SB), AX\n")
111 fmt.Printf("\n\tRET\n") 111 fmt.Printf("\n\tRET\n")
112 } 112 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b