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

Issue 812043: code review 812043: gc: add panic and recover (still unimplemented in runtime) (Closed)

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

Description

gc: add panic and recover (still unimplemented in runtime) main semantic change is to enforce single argument to panic. runtime: change to 1-argument panic. use String method on argument if it has one.

Patch Set 1 #

Patch Set 2 : code review 812043: gc: add panic and recover (still unimplemented in runtime) #

Total comments: 4

Patch Set 3 : code review 812043: gc: add panic and recover (still unimplemented in runtime) #

Patch Set 4 : code review 812043: gc: add panic and recover (still unimplemented in runtime) #

Patch Set 5 : code review 812043: gc: add panic and recover (still unimplemented in runtime) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -25 lines) Patch
M src/cmd/gc/align.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gc/builtin.c.boot View 1 chunk +2 lines, -1 line 0 comments Download
M src/cmd/gc/go.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gc/lex.c View 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gc/runtime.go View 1 chunk +3 lines, -1 line 0 comments Download
M src/cmd/gc/typecheck.c View 1 2 1 chunk +19 lines, -1 line 0 comments Download
M src/cmd/gc/walk.c View 2 chunks +8 lines, -2 lines 0 comments Download
M src/pkg/runtime/386/asm.s View 1 2 1 chunk +20 lines, -7 lines 0 comments Download
M src/pkg/runtime/amd64/asm.s View 1 2 1 chunk +19 lines, -6 lines 0 comments Download
M src/pkg/runtime/arm/asm.s View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M src/pkg/runtime/print.c View 1 2 3 4 3 chunks +67 lines, -1 line 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 3 chunks +3 lines, -1 line 0 comments Download
M src/pkg/runtime/runtime.c View 1 2 3 4 4 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 5
rsc
Hello ken2, r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years ago (2010-03-30 08:39:41 UTC) #1
r
http://codereview.appspot.com/812043/diff/2001/3006 File src/cmd/gc/typecheck.c (right): http://codereview.appspot.com/812043/diff/2001/3006#newcode1034 src/cmd/gc/typecheck.c:1034: yyerror("too many arguments to recover", n->op); is n->op right ...
15 years ago (2010-03-30 17:09:52 UTC) #2
rsc
PTAL > http://codereview.appspot.com/812043/diff/2001/3006#newcode1034 > src/cmd/gc/typecheck.c:1034: yyerror("too many arguments to recover", > n->op); > is n->op ...
15 years ago (2010-03-30 17:44:08 UTC) #3
r
LGTM
15 years ago (2010-03-30 17:46:32 UTC) #4
rsc
15 years ago (2010-03-30 17:53:19 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=62cf91510b15 ***

gc: add panic and recover (still unimplemented in runtime)
main semantic change is to enforce single argument to panic.

runtime: change to 1-argument panic.
use String method on argument if it has one.

R=ken2, r
CC=golang-dev
http://codereview.appspot.com/812043
Sign in to reply to this message.

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