Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(849)

Issue 201042: Win64 - Allow returning two values from a runtime function. (Closed)

Created:
11 years, 3 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Win64 - Allow returning two values from a runtime function. (Not yet fully functional)

Patch Set 1 #

Patch Set 2 : Fixed typo. #

Total comments: 17
Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -305 lines) Patch
M src/arm/codegen-arm.cc View 4 chunks +10 lines, -3 lines 0 comments Download
M src/arm/ic-arm.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/arm/macro-assembler-arm.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/codegen.h View 3 chunks +8 lines, -4 lines 2 comments Download
M src/codegen.cc View 1 chunk +4 lines, -1 line 0 comments Download
M src/heap.cc View 1 chunk +1 line, -1 line 0 comments Download
src/ia32/codegen-ia32.cc View 5 chunks +11 lines, -4 lines 0 comments Download
M src/ia32/ic-ia32.cc View 8 chunks +8 lines, -8 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/ia32/macro-assembler-ia32.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M src/runtime.h View 1 4 chunks +210 lines, -207 lines 0 comments Download
M src/runtime.cc View 5 chunks +8 lines, -6 lines 6 comments Download
M src/serialize.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/builtins-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/codegen-x64.cc View 1 7 chunks +34 lines, -7 lines 6 comments Download
M src/x64/ic-x64.cc View 8 chunks +8 lines, -8 lines 0 comments Download
M src/x64/macro-assembler-x64.h View 2 chunks +12 lines, -10 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 6 chunks +29 lines, -10 lines 3 comments Download
M src/x64/regexp-macro-assembler-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/x64/stub-cache-x64.cc View 7 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Lasse Reichstein
Check this out.
11 years, 3 months ago (2009-09-07 11:16:32 UTC) #1
Søren Thygesen Gjesse
Drive by comments. http://codereview.chromium.org/201042/diff/3001/3008 File src/codegen.h (right): http://codereview.chromium.org/201042/diff/3001/3008#newcode320 Line 320: explicit CEntryDebugBreakStub() : CEntryStub(1) { ...
11 years, 3 months ago (2009-09-07 12:22:33 UTC) #2
William Hesse
LGTM, with comments. http://codereview.chromium.org/201042/diff/3001/3015 File src/runtime.cc (right): http://codereview.chromium.org/201042/diff/3001/3015#newcode4557 Line 4557: Why three blank lines? http://codereview.chromium.org/201042/diff/3001/3015#newcode4560 ...
11 years, 3 months ago (2009-09-07 14:34:18 UTC) #3
Lasse Reichstein
http://codereview.chromium.org/201042/diff/3001/3008 File src/codegen.h (right): http://codereview.chromium.org/201042/diff/3001/3008#newcode320 Line 320: explicit CEntryDebugBreakStub() : CEntryStub(1) { } Good catch. ...
11 years, 3 months ago (2009-09-08 11:51:35 UTC) #4
William Hesse
11 years, 3 months ago (2009-09-08 12:43:52 UTC) #5
http://codereview.chromium.org/201042/diff/3001/3021
File src/x64/macro-assembler-x64.cc (right):

http://codereview.chromium.org/201042/diff/3001/3021#newcode1044
Line 1044: ASSERT(kFrameAlignment == 2 * kPointerSize);  // Change the padding
if needed.
On 2009/09/08 11:51:35, Lasse Reichstein wrote:
> Rather, we should move the stack aligning code below this block (it's just
> above). 
> We do know that the stack is aligned before this block, and since we subtract
a
> multiple of two times kPointerSize, this ASSERT guarantees that we are aligned
> after.

We don't know that we are subtracting a multiple of two times kPointerSize,
unless we know that result_size is always even or less than two.

Powered by Google App Engine
This is Rietveld 408576698