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

Issue 5440050: code review 5440050: syscall: implement Syscall15 (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 7 months ago by brainman
Modified:
14 years, 7 months ago
Reviewers:
jp, eds2, r2
CC:
golang-dev, rsc
Visibility:
Public.

Description

syscall: implement Syscall15 Fixes issue 2251.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 8ae17206fc31 https://go.googlecode.com/hg/ #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -1 line) Patch
M src/pkg/runtime/windows/amd64/sys.s View 1 1 chunk +1 line, -1 line 1 comment Download
M src/pkg/runtime/windows/syscall.goc View 1 1 chunk +26 lines, -0 lines 0 comments Download
M src/pkg/syscall/dll_windows.go View 1 2 chunks +7 lines, -0 lines 0 comments Download
M src/pkg/syscall/mksyscall_windows.pl View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18
brainman
Hello golang-dev@googlegroups.com (cc: jp@webmaster.ms), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 7 months ago (2011-11-28 23:17:18 UTC) #1
rsc
ha ha ha LGTM
14 years, 7 months ago (2011-11-28 23:18:50 UTC) #2
brainman
*** Submitted as http://code.google.com/p/go/source/detail?r=9c49fd8294a5 *** syscall: implement Syscall15 Fixes issue 2251. R=golang-dev, rsc CC=golang-dev, jp ...
14 years, 7 months ago (2011-11-28 23:24:26 UTC) #3
brainman
On 2011/11/28 23:18:50, rsc wrote: > ha ha ha LGTM Well. I really need it: ...
14 years, 7 months ago (2011-11-28 23:27:35 UTC) #4
r2
what, no hex? -rob
14 years, 7 months ago (2011-11-28 23:29:23 UTC) #5
brainman
On 2011/11/28 23:29:23, r2 wrote: > what, no hex? > Do not understand your question. ...
14 years, 7 months ago (2011-11-28 23:33:44 UTC) #6
r2
On Nov 28, 2011, at 3:33 PM, alex.brainman@gmail.com wrote: > On 2011/11/28 23:29:23, r2 wrote: ...
14 years, 7 months ago (2011-11-28 23:35:47 UTC) #7
eds2
I might be misremembering, but wasn't lack of escape analysis the reason for not making ...
14 years, 7 months ago (2011-11-28 23:38:29 UTC) #8
brainman
On 2011/11/28 23:38:29, eds2 wrote: > I might be misremembering, but wasn't lack of escape ...
14 years, 7 months ago (2011-11-28 23:43:57 UTC) #9
eds2
On Tue, Nov 29, 2011 at 12:43 PM, <alex.brainman@gmail.com> wrote: > It was memory allocation ...
14 years, 7 months ago (2011-11-28 23:45:12 UTC) #10
eds2
On Tue, Nov 29, 2011 at 12:44 PM, Evan Shaw <edsrzf@gmail.com> wrote: > Right, but ...
14 years, 7 months ago (2011-11-28 23:46:09 UTC) #11
r2
On Nov 28, 2011, at 3:44 PM, Evan Shaw wrote: > On Tue, Nov 29, ...
14 years, 7 months ago (2011-11-28 23:46:27 UTC) #12
eds2
On Tue, Nov 29, 2011 at 12:46 PM, Rob 'Commander' Pike <r@google.com> wrote: > Even ...
14 years, 7 months ago (2011-11-28 23:58:52 UTC) #13
jp
http://codereview.appspot.com/5440050/diff/8/src/pkg/runtime/windows/amd64/sys.s File src/pkg/runtime/windows/amd64/sys.s (right): http://codereview.appspot.com/5440050/diff/8/src/pkg/runtime/windows/amd64/sys.s#newcode7 src/pkg/runtime/windows/amd64/sys.s:7: #define maxargs 15 Put an even number here. 16, ...
14 years, 7 months ago (2011-11-29 05:17:39 UTC) #14
brainman
On 2011/11/29 05:17:39, jp wrote: > Put an even number here. > 16, not 15. ...
14 years, 7 months ago (2011-11-29 05:29:15 UTC) #15
jp
Ah, ok. I haven't seen that it had been already fixed in another CL. On ...
14 years, 7 months ago (2011-11-29 07:56:07 UTC) #16
brainman
On 2011/11/28 23:45:12, eds2 wrote: > Right, but I don't think variadic calls allocate anymore. ...
14 years, 7 months ago (2011-11-30 03:31:35 UTC) #17
rsc
14 years, 7 months ago (2011-11-30 15:55:08 UTC) #18
On Mon, Nov 28, 2011 at 18:44, Evan Shaw <edsrzf@gmail.com> wrote:
> Right, but I don't think variadic calls allocate anymore.

A variadic Printf call will not allocate, because the
Go compiler can see Printf's body and see that it
does not retain a reference to the slice.  However,
the Go compiler cannot see the body of assembly
functions like Syscall, so that would still allocate.

Russ
Sign in to reply to this message.

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