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

Issue 2609041: code review 2609041: 6l: correct logic for morestack choice (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by rsc
Modified:
14 years, 4 months ago
Reviewers:
ken3
CC:
ken2, golang-dev
Visibility:
Public.

Description

6l: correct logic for morestack choice The frame that gets allocated is for both the args and the autos. If together they exceed the default frame size, we need to tell morestack about both so that it allocates a large enough frame. Sanity check stack pointer in morestack to catch similar bugs.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/cmd/6l/pass.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/proc.c View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello ken2 (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 4 months ago (2010-10-20 19:16:37 UTC) #1
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=8691fcc6a66e *** 6l: correct logic for morestack choice The frame that gets ...
14 years, 4 months ago (2010-10-20 19:16:44 UTC) #2
ken3
14 years, 4 months ago (2010-10-20 21:45:20 UTC) #3
lgtm
Sign in to reply to this message.

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