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

Delta Between Two Patch Sets: src/pkg/runtime/os_windows_amd64.go

Issue 134200044: code review 134200044: runtime: convert traceback*.c to Go (Closed)
Left Patch Set: Created 10 years, 6 months ago
Right Patch Set: diff -r df0572446e37549332e1d1154955409e2cff6008 https://code.google.com/p/go/ Created 10 years, 6 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/pkg/runtime/os_windows_386.go ('k') | src/pkg/runtime/runtime.h » ('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.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package runtime
6
7 // contextPC returns the RIP (program counter) register from the context.
8 func contextPC(r *context) uintptr { return uintptr(r.rip) }
9
10 // contextSP returns the RSP (stack pointer) register from the context.
11 func contextSP(r *context) uintptr { return uintptr(r.rsp) }
LEFTRIGHT

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