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

Delta Between Two Patch Sets: src/pkg/runtime/amd64/asm.s

Issue 825043: code review 825043: runtime: run deferred calls at Goexit (Closed)
Left Patch Set: Created 15 years ago
Right Patch Set: code review 825043: runtime: run deferred calls at Goexit Created 15 years 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/runtime/386/asm.s ('k') | src/pkg/runtime/arm/asm.s » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 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 #include "amd64/asm.h" 5 #include "amd64/asm.h"
6 6
7 TEXT _rt0_amd64(SB),7,$-8 7 TEXT _rt0_amd64(SB),7,$-8
8 // copy arguments forward on an even stack 8 // copy arguments forward on an even stack
9 MOVQ 0(DI), AX // argc 9 MOVQ 0(DI), AX // argc
10 LEAQ 8(DI), BX // argv 10 LEAQ 8(DI), BX // argv
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 // check that SP is in range [g->stackbase, g->stackguard) 304 // check that SP is in range [g->stackbase, g->stackguard)
305 TEXT stackcheck(SB), 7, $0 305 TEXT stackcheck(SB), 7, $0
306 CMPQ g_stackbase(g), SP 306 CMPQ g_stackbase(g), SP
307 JHI 2(PC) 307 JHI 2(PC)
308 INT $3 308 INT $3
309 CMPQ SP, g_stackguard(g) 309 CMPQ SP, g_stackguard(g)
310 JHI 2(PC) 310 JHI 2(PC)
311 INT $3 311 INT $3
312 RET 312 RET
313 313
LEFTRIGHT

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