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

Issue 194097: code review 194097: gc: implement defer print/println/panic/panicln (Closed)

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

Description

gc: implement defer print/println/panic/panicln Fixes issue 219.

Patch Set 1 #

Patch Set 2 : code review 194097: gc: implement defer print/println/panic/panicln #

Total comments: 3

Patch Set 3 : code review 194097: gc: implement defer print/println/panic/panicln #

Patch Set 4 : code review 194097: gc: implement defer print/println/panic/panicln #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -84 lines) Patch
M src/cmd/gc/builtin.c.boot View 4 chunks +24 lines, -23 lines 0 comments Download
M src/cmd/gc/runtime.go View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gc/walk.c View 6 chunks +133 lines, -47 lines 0 comments Download
M src/pkg/runtime/print.c View 1 2 3 5 chunks +73 lines, -14 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A test/deferprint.go View 1 chunk +14 lines, -0 lines 0 comments Download
M test/golden.out View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8
rsc
Hello ken2, r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 2 months ago (2010-01-27 01:49:13 UTC) #1
rsc
this makes defer println(1,"hello") work by turning it into (approximately) defer printf("%d %s\n", 1, "hello") ...
14 years, 2 months ago (2010-01-27 01:51:50 UTC) #2
r
http://codereview.appspot.com/194097/diff/8/12 File src/pkg/runtime/print.c (right): http://codereview.appspot.com/194097/diff/8/12#newcode35 src/pkg/runtime/print.c:35: // Do not add to this without checking with ...
14 years, 2 months ago (2010-01-27 01:56:17 UTC) #3
rsc
> http://codereview.appspot.com/194097/diff/8/12#newcode35 > src/pkg/runtime/print.c:35: // Do not add to this without checking with > Rob. ...
14 years, 2 months ago (2010-01-27 02:23:24 UTC) #4
r
14 years, 2 months ago (2010-01-27 02:25:10 UTC) #5
r
LGTM
14 years, 2 months ago (2010-01-27 02:25:19 UTC) #6
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=6f9125fefea6 *** gc: implement defer print/println/panic/panicln Fixes issue 219. R=ken2, r CC=golang-dev ...
14 years, 2 months ago (2010-01-27 23:37:12 UTC) #7
ken3
14 years, 2 months ago (2010-01-27 23:47:50 UTC) #8
LGTM

On 2010/01/27 23:37:12, rsc wrote:
> *** Submitted as http://code.google.com/p/go/source/detail?r=6f9125fefea6 ***
> 
> gc: implement defer print/println/panic/panicln
> 
> Fixes issue 219.
> 
> R=ken2, r
> CC=golang-dev
> http://codereview.appspot.com/194097
Sign in to reply to this message.

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