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

Issue 7093050: code review 7093050: cmd/gc: inlining of variadic functions. (Closed)

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

Description

cmd/gc: inlining of variadic functions.

Patch Set 1 #

Patch Set 2 : diff -r e088d9c306df https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r e088d9c306df https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 4 : diff -r 5b8758a86c0d https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 85014abe1574 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 2ea8f07b2ffe https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 7 : diff -r 2ea8f07b2ffe https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -18 lines) Patch
M src/cmd/gc/inl.c View 1 2 3 4 5 11 chunks +128 lines, -18 lines 0 comments Download

Messages

Total messages: 13
remyoudompheng
Hello rsc@golang.org, lvd@gmail.com, golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 6 months ago (2013-01-12 07:42:03 UTC) #1
remyoudompheng
- It could be enabled by default if useful - I have a test for ...
12 years, 6 months ago (2013-01-12 07:43:09 UTC) #2
remyoudompheng
The following functions in the std library are simple enough to be inlined with this ...
12 years, 6 months ago (2013-01-12 07:46:31 UTC) #3
kardia
Would it be correct to say, this in-lines the functions but doesn't save an alloc ...
12 years, 6 months ago (2013-01-13 06:48:26 UTC) #4
lvd2
LGTM very nice. https://codereview.appspot.com/7093050/diff/4001/src/cmd/gc/inl.c File src/cmd/gc/inl.c (right): https://codereview.appspot.com/7093050/diff/4001/src/cmd/gc/inl.c#newcode26 src/cmd/gc/inl.c:26: // - inline functions with ...
12 years, 6 months ago (2013-01-13 09:21:28 UTC) #5
remyoudompheng
On 2013/1/13 Daniel Theophanes <kardianos@gmail.com> wrote: > Would it be correct to say, this in-lines ...
12 years, 6 months ago (2013-01-13 09:52:41 UTC) #6
remyoudompheng
Any other comment about: whether the test could be committed somewhere? whether the inlining should ...
12 years, 5 months ago (2013-01-16 21:59:55 UTC) #7
rsc
LGTM I would prefer this not be on by default. Thanks.
12 years, 5 months ago (2013-01-30 16:35:12 UTC) #8
remyoudompheng
Hello rsc@golang.org, lvd@gmail.com, golang-dev@googlegroups.com, kardianos@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 5 months ago (2013-01-30 21:21:07 UTC) #9
remyoudompheng
I seem to have written garbage in the previous patch.
12 years, 5 months ago (2013-01-30 21:21:58 UTC) #10
rsc
LGTM
12 years, 5 months ago (2013-01-31 01:49:20 UTC) #11
remyoudompheng
*** Submitted as https://code.google.com/p/go/source/detail?r=84f3f82c91fa *** cmd/gc: inlining of variadic functions. R=rsc, lvd, golang-dev, kardianos CC=golang-dev ...
12 years, 5 months ago (2013-01-31 07:41:15 UTC) #12
remyoudompheng
12 years, 5 months ago (2013-01-31 07:41:35 UTC) #13
Message was sent while issue was closed.
https://codereview.appspot.com/7093050/diff/19002/src/cmd/gc/inl.c
File src/cmd/gc/inl.c (right):

https://codereview.appspot.com/7093050/diff/19002/src/cmd/gc/inl.c#newcode621
src/cmd/gc/inl.c:621: if(n->list->n->left->type->outtuple > 1)
had to correct a little typo here.
Sign in to reply to this message.

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