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

Issue 98640043: code review 98640043: runtime: improve stack frame layout comment (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by dvyukov
Modified:
11 years ago
Reviewers:
r, rsc, khr1, golang-codereviews
CC:
khr
Visibility:
Public.

Description

runtime: improve stack frame layout comment The idea is as follows: - each line (except +------------------+) represents a word of memory - regions that can consist of several words occupy several lines - variables (argp/varp/sp) point with <- at first/last word of the region (instead of "somewhere in between") It's much more readable for me in this form. Does it make sense to you?

Patch Set 1 #

Patch Set 2 : diff -r 4b3cdcb02f2d https://dvyukov%40google.com@code.google.com/p/go/ #

Patch Set 3 : diff -r 4b3cdcb02f2d https://dvyukov%40google.com@code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M src/pkg/runtime/stack.c View 1 1 chunk +10 lines, -4 lines 0 comments Download

Messages

Total messages: 7
dvyukov
Hello golang-codereviews@googlegroups.com (cc: khr@golang.org, rsc@golang.org), I'd like you to review this change to https://dvyukov%40google.com@code.google.com/p/go/
11 years ago (2014-05-27 17:55:14 UTC) #1
r
LGTM I like this but wait to see if rsc and khr agree
11 years ago (2014-05-27 18:23:39 UTC) #2
khr1
I'm still a fan of having sp/argp/varp be borders between regions, not pointing to any ...
11 years ago (2014-05-27 19:53:15 UTC) #3
dvyukov
But it's not possible for a pointer to point in between words. It can point ...
11 years ago (2014-05-27 21:00:55 UTC) #4
rsc
not lgtm pointers between words do make sense. the rewrite is not obviously better, so ...
11 years ago (2014-05-27 22:58:29 UTC) #5
rsc
if you want to read the picture as pointing to the very beginning of the ...
11 years ago (2014-05-27 22:59:06 UTC) #6
dvyukov
11 years ago (2014-06-10 19:05:27 UTC) #7
*** Abandoned ***
Sign in to reply to this message.

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