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

Issue 1410003003: [Interpreter] Add support for JS runtime calls. (Closed)

Created:
5 years, 1 month ago by rmcilroy
Modified:
5 years, 1 month ago
Reviewers:
Benedikt Meurer, *oth
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@int_api_builtin
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add support for JS runtime calls. Adds support for calling JS runtime functions. Also changes the bytecode array builder to allow calling functions with an invalid argument register if the call takes no arguments. Adds the bytecode CallJSRuntime. BUG=v8:4280 LOG=N Committed: https://crrev.com/41f3e782d968469f77095fd7464e7254944cc8d5 Cr-Commit-Position: refs/heads/master@{#31774}

Patch Set 1 : #

Patch Set 2 : Fix unittests #

Total comments: 2

Patch Set 3 : Remove RegisterCheckMode #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -50 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 2 1 chunk +6 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 3 chunks +24 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-iterator.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 3 chunks +23 lines, -28 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 2 chunks +17 lines, -14 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 2 chunks +20 lines, -2 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
rmcilroy
Benedikt, could you please take a look at compiler/ Orion, could you please take a ...
5 years, 1 month ago (2015-10-30 17:15:48 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410003003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410003003/20001
5 years, 1 month ago (2015-10-30 17:17:03 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/11365)
5 years, 1 month ago (2015-10-30 17:29:09 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410003003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410003003/40001
5 years, 1 month ago (2015-10-30 18:03:44 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-30 18:27:22 UTC) #11
Benedikt Meurer
LGTM for compiler.
5 years, 1 month ago (2015-11-02 04:42:59 UTC) #13
oth
Comments below. I can live with this change, but if the code could do something ...
5 years, 1 month ago (2015-11-02 10:49:58 UTC) #14
rmcilroy
https://codereview.chromium.org/1410003003/diff/40001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (left): https://codereview.chromium.org/1410003003/diff/40001/src/interpreter/bytecode-generator.cc#oldcode1573 src/interpreter/bytecode-generator.cc:1573: first_arg = execution_result()->NewRegister(); On 2015/11/02 10:49:58, oth wrote: > ...
5 years, 1 month ago (2015-11-03 17:10:47 UTC) #15
oth
lgtm
5 years, 1 month ago (2015-11-04 08:26:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410003003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410003003/80001
5 years, 1 month ago (2015-11-04 08:52:45 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 1 month ago (2015-11-04 09:21:30 UTC) #20
commit-bot: I haz the power
5 years, 1 month ago (2015-11-04 09:22:02 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/41f3e782d968469f77095fd7464e7254944cc8d5
Cr-Commit-Position: refs/heads/master@{#31774}

Powered by Google App Engine
This is Rietveld 408576698