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

Issue 7850045: code review 7850045: cmd/gc: steal escape analysis info when inlining (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by DMorsing
Modified:
12 years, 2 months ago
Reviewers:
CC:
golang-dev, rsc, remyoudompheng
Visibility:
Public.

Description

cmd/gc: steal escape analysis info when inlining Usually, there is no esc info when inlining, but there will be when generating inlined wrapper functions. If we don't use this information, we get invalid addresses on the stack. Fixes issue 5056.

Patch Set 1 #

Patch Set 2 : diff -r b5b5c246be0c https://code.google.com/p/go/ #

Patch Set 3 : diff -r b5b5c246be0c https://code.google.com/p/go/ #

Patch Set 4 : diff -r b5b5c246be0c https://code.google.com/p/go/ #

Patch Set 5 : diff -r 7a70129d0a6e https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -0 lines) Patch
M src/cmd/gc/inl.c View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A test/fixedbugs/issue5056.go View 1 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 4
DMorsing
Hello golang-dev@googlegroups.com (cc: remyoudompheng@gmail.com, rsc@golang.org), I'd like you to review this change to https://code.google.com/p/go/
12 years, 2 months ago (2013-03-16 11:44:08 UTC) #1
DMorsing
ping?
12 years, 2 months ago (2013-03-18 20:11:26 UTC) #2
rsc
LGTM
12 years, 2 months ago (2013-03-18 20:43:52 UTC) #3
DMorsing
12 years, 2 months ago (2013-03-18 21:22:43 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=0970a243a5d3 ***

cmd/gc: steal escape analysis info when inlining

Usually, there is no esc info when inlining, but there will be when generating
inlined wrapper functions.

If we don't use this information, we get invalid addresses on the stack.

Fixes issue 5056.

R=golang-dev, rsc
CC=golang-dev, remyoudompheng
https://codereview.appspot.com/7850045
Sign in to reply to this message.

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