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

Issue 119240043: code review 119240043: runtime: move built-in print routines to go. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by khr
Modified:
12 years, 4 months ago
Reviewers:
bradfitz
CC:
golang-codereviews, bradfitz, khr1, dave_cheney.net, dvyukov
Visibility:
Public.

Description

runtime: move built-in print routines to go. Fixes issue 8297

Patch Set 1 #

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

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

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

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

Patch Set 6 : diff -r fda4c0d14c53 https://code.google.com/p/go/ #

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

Patch Set 8 : diff -r ec4b62f06a49 https://code.google.com/p/go/ #

Patch Set 9 : diff -r ec4b62f06a49 https://code.google.com/p/go/ #

Patch Set 10 : diff -r ec4b62f06a49 https://code.google.com/p/go/ #

Total comments: 4

Patch Set 11 : diff -r b55df4e0da18 https://code.google.com/p/go/ #

Patch Set 12 : diff -r b55df4e0da18 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+322 lines, -119 lines) Patch
M src/pkg/runtime/alg.goc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/gc_test.go View 1 chunk +24 lines, -0 lines 0 comments Download
M src/pkg/runtime/iface.goc View 1 chunk +0 lines, -8 lines 0 comments Download
M src/pkg/runtime/os_darwin.c View 7 chunks +9 lines, -9 lines 0 comments Download
M src/pkg/runtime/os_dragonfly.c View 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/os_freebsd.c View 1 chunk +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/print.c View 8 chunks +89 lines, -39 lines 0 comments Download
A src/pkg/runtime/print.go View 1 chunk +109 lines, -0 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 chunk +13 lines, -13 lines 0 comments Download
R src/pkg/runtime/slice.c View 1 chunk +0 lines, -27 lines 0 comments Download
M src/pkg/runtime/slice.go View 1 chunk +0 lines, -11 lines 0 comments Download
M src/pkg/runtime/traceback_arm.c View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/traceback_x86.c View 1 chunk +1 line, -1 line 0 comments Download
A test/print.go View 1 chunk +42 lines, -0 lines 0 comments Download
A test/print.out View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 12
khr
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years, 4 months ago (2014-07-31 00:27:47 UTC) #1
bradfitz
https://codereview.appspot.com/119240043/diff/180001/src/pkg/runtime/print.go File src/pkg/runtime/print.go (right): https://codereview.appspot.com/119240043/diff/180001/src/pkg/runtime/print.go#newcode11 src/pkg/runtime/print.go:11: // these 4 functions are complicated enough that we ...
12 years, 4 months ago (2014-07-31 00:36:30 UTC) #2
khr1
On Wed, Jul 30, 2014 at 5:36 PM, <bradfitz@golang.org> wrote: > > https://codereview.appspot.com/119240043/diff/180001/src/ > pkg/runtime/print.go ...
12 years, 4 months ago (2014-07-31 00:55:09 UTC) #3
bradfitz
LGTM On Wed, Jul 30, 2014 at 5:55 PM, Keith Randall <khr@google.com> wrote: > https://codereview.appspot.com/119240043/diff/180001/src/ ...
12 years, 4 months ago (2014-07-31 00:59:41 UTC) #4
dave_cheney.net
https://codereview.appspot.com/119240043/diff/180001/src/pkg/runtime/print.go File src/pkg/runtime/print.go (right): https://codereview.appspot.com/119240043/diff/180001/src/pkg/runtime/print.go#newcode18 src/pkg/runtime/print.go:18: func printstring(s string) { the convention (although never spoken ...
12 years, 4 months ago (2014-07-31 04:35:15 UTC) #5
khr1
The problem is that "printstring" is called by the compiler. If we called the Go ...
12 years, 4 months ago (2014-07-31 04:57:39 UTC) #6
dave_cheney.net
Sure, thanks for your reply. This change builds fine on linux/arm btw. On Thu, Jul ...
12 years, 4 months ago (2014-07-31 05:03:28 UTC) #7
dvyukov
This must fix https://code.google.com/p/go/issues/detail?id=8297 If so, please add "Fixes issue 8297" and the test from ...
12 years, 4 months ago (2014-07-31 09:04:13 UTC) #8
dvyukov
It's not about this CL, but we need something to debug all that new Go ...
12 years, 4 months ago (2014-07-31 09:15:17 UTC) #9
dvyukov
On 2014/07/31 09:15:17, dvyukov wrote: > It's not about this CL, but we need something ...
12 years, 4 months ago (2014-07-31 09:18:49 UTC) #10
khr1
Yes, print/println should work for you. There's no explicit format string, but you can do: ...
12 years, 4 months ago (2014-07-31 20:45:20 UTC) #11
khr
12 years, 4 months ago (2014-07-31 20:48:56 UTC) #12
*** Submitted as https://code.google.com/p/go/source/detail?r=663df16f4ff2 ***

runtime: move built-in print routines to go.

Fixes issue 8297

LGTM=bradfitz
R=golang-codereviews, bradfitz, khr, dave, dvyukov
CC=golang-codereviews
https://codereview.appspot.com/119240043
Sign in to reply to this message.

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