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

Issue 1568493002: [Interpreter] Add support for calling runtime functions which return a pair. (Closed)

Created:
4 years, 11 months ago by rmcilroy
Modified:
4 years, 11 months ago
Reviewers:
oth, *Michael Starzinger
CC:
v8-reviews_googlegroups.com, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add support for calling runtime functions which return a pair. Adds support for calling runtime functions which return a pair of values. Adds the bytecode CallRuntimePair. Also adds support to TurboFan for calling stubs which return multiple values. BUG=v8:4280 LOG=N Committed: https://crrev.com/1a063d944dadb17ade60c2de5a00b15e8f8245cb Cr-Commit-Position: refs/heads/master@{#33181}

Patch Set 1 : #

Total comments: 11

Patch Set 2 : Review comments #

Patch Set 3 : Fix Decode #

Patch Set 4 : Address Michi's review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -66 lines) Patch
M src/code-factory.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/code-factory.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/interpreter-assembler.h View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 2 3 3 chunks +11 lines, -4 lines 0 comments Download
M src/compiler/linkage.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/linkage.cc View 1 chunk +12 lines, -5 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 chunks +44 lines, -27 lines 0 comments Download
M src/interpreter/bytecode-array-iterator.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 1 chunk +27 lines, -0 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 1 2 3 2 chunks +27 lines, -22 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (13 generated)
rmcilroy
Benedikt, please take a look at changes in compiler/ Orion, please take a look at ...
4 years, 11 months ago (2016-01-06 12:47:26 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568493002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568493002/20001
4 years, 11 months ago (2016-01-06 12:51:00 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_win64_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win64_rel_ng/builds/1269) v8_win64_rel_ng_triggered on ...
4 years, 11 months ago (2016-01-06 13:35:00 UTC) #7
oth
Looks good modulo query about connection to bytecode generator. The name CallRuntimePair is a bit ...
4 years, 11 months ago (2016-01-06 15:09:17 UTC) #8
rmcilroy
https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecode-array-builder.cc#newcode1005 src/interpreter/bytecode-array-builder.cc:1005: BytecodeArrayBuilder& BytecodeArrayBuilder::CallRuntimePair( On 2016/01/06 15:09:17, oth wrote: > This ...
4 years, 11 months ago (2016-01-06 15:23:25 UTC) #9
oth
The approach looks fine, but the bytecode is going to cause issues elsewhere as proposed. ...
4 years, 11 months ago (2016-01-06 16:26:07 UTC) #10
rmcilroy
https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h#newcode145 src/interpreter/bytecodes.h:145: OperandType::kCount8, OperandType::kReg8) \ On 2016/01/06 16:26:07, oth wrote: > ...
4 years, 11 months ago (2016-01-06 16:48:34 UTC) #11
oth
On 2016/01/06 16:48:34, rmcilroy wrote: > https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h > File src/interpreter/bytecodes.h (right): > > https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h#newcode145 > ...
4 years, 11 months ago (2016-01-06 18:03:53 UTC) #12
Michael Starzinger
Approach is looking good. Just one suggestion in two places. https://codereview.chromium.org/1568493002/diff/20001/src/code-factory.h File src/code-factory.h (right): https://codereview.chromium.org/1568493002/diff/20001/src/code-factory.h#newcode114 ...
4 years, 11 months ago (2016-01-07 17:21:28 UTC) #16
rmcilroy
https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h#newcode145 src/interpreter/bytecodes.h:145: OperandType::kCount8, OperandType::kReg8) \ On 2016/01/06 16:48:34, rmcilroy wrote: > ...
4 years, 11 months ago (2016-01-07 17:21:43 UTC) #17
oth
On 2016/01/07 17:21:43, rmcilroy wrote: > https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h > File src/interpreter/bytecodes.h (right): > > https://codereview.chromium.org/1568493002/diff/20001/src/interpreter/bytecodes.h#newcode145 > ...
4 years, 11 months ago (2016-01-08 09:26:12 UTC) #18
rmcilroy
https://codereview.chromium.org/1568493002/diff/20001/src/code-factory.h File src/code-factory.h (right): https://codereview.chromium.org/1568493002/diff/20001/src/code-factory.h#newcode114 src/code-factory.h:114: static Callable InterpreterCEntryPair(Isolate* isolate); On 2016/01/07 17:21:28, Michael Starzinger ...
4 years, 11 months ago (2016-01-08 14:15:07 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568493002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568493002/80001
4 years, 11 months ago (2016-01-08 14:33:24 UTC) #21
Michael Starzinger
LGTM.
4 years, 11 months ago (2016-01-08 14:49:35 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-08 14:58:40 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1568493002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1568493002/80001
4 years, 11 months ago (2016-01-08 15:02:26 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 11 months ago (2016-01-08 15:15:58 UTC) #29
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 15:16:32 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1a063d944dadb17ade60c2de5a00b15e8f8245cb
Cr-Commit-Position: refs/heads/master@{#33181}

Powered by Google App Engine
This is Rietveld 408576698