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

Side by Side Diff: src/pkg/runtime/os_windows_386.go

Issue 134200044: code review 134200044: runtime: convert traceback*.c to Go (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « src/pkg/runtime/mprof.go ('k') | src/pkg/runtime/os_windows_amd64.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 EIP (program counter) register from the context.
8 func contextPC(r *context) uintptr { return uintptr(r.eip) }
9
10 // contextSP returns the ESP (stack pointer) register from the context.
11 func contextSP(r *context) uintptr { return uintptr(r.esp) }
OLDNEW
« no previous file with comments | « src/pkg/runtime/mprof.go ('k') | src/pkg/runtime/os_windows_amd64.go » ('j') | no next file with comments »

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