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

Issue 1378523005: [Interpreter] Add support for global declarations and load/store of global variables (Closed)

Created:
5 years, 2 months ago by rmcilroy
Modified:
5 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@int_toplevel
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add support for global declarations and load/store of global variables Implements support for declaring global variables. Also adds support for loading from and storing to both global and unallocated global variables. Adds the following bytecodes: - StoreGlobal - LoadContextSlot BUG=v8:4280 LOG=N Committed: https://crrev.com/688eacdae9721e877cfe99430bc328bf2f6cf663 Cr-Commit-Position: refs/heads/master@{#31166}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Patch Set 3 : DCHECK -> UNIMPLEMENTED #

Patch Set 4 : Rebase #

Patch Set 5 : Rebased again. #

Patch Set 6 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+569 lines, -53 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M src/compiler/interpreter-assembler.h View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 2 3 chunks +8 lines, -12 lines 0 comments Download
M src/frames.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 2 chunks +32 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.h View 1 2 3 3 chunks +11 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 9 chunks +129 lines, -11 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M src/interpreter/bytecodes.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 4 5 7 chunks +228 lines, -8 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 3 3 chunks +82 lines, -0 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 1 2 1 chunk +8 lines, -12 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378523005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378523005/1
5 years, 2 months ago (2015-10-01 10:34:22 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel/builds/4875) v8_linux_mipsel_compile_rel on ...
5 years, 2 months ago (2015-10-01 10:35:23 UTC) #4
rmcilroy
Michi: Please review the /compiler changes (comments on any other bits also welcome). Oth: Please ...
5 years, 2 months ago (2015-10-01 10:37:25 UTC) #6
oth
Look fine here. One minor comment. https://codereview.chromium.org/1378523005/diff/1/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1378523005/diff/1/src/interpreter/bytecode-generator.cc#newcode75 src/interpreter/bytecode-generator.cc:75: DCHECK(!hole_init); // TODO(rmcilroy): ...
5 years, 2 months ago (2015-10-01 12:02:26 UTC) #7
Michael Starzinger
LGTM from my end.
5 years, 2 months ago (2015-10-01 16:08:56 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378523005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378523005/40001
5 years, 2 months ago (2015-10-02 14:18:57 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/8573) v8_linux_arm_rel on ...
5 years, 2 months ago (2015-10-02 14:20:31 UTC) #13
rmcilroy
https://codereview.chromium.org/1378523005/diff/1/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1378523005/diff/1/src/interpreter/bytecode-generator.cc#newcode75 src/interpreter/bytecode-generator.cc:75: DCHECK(!hole_init); // TODO(rmcilroy): Implement hole_init support. On 2015/10/01 12:02:26, ...
5 years, 2 months ago (2015-10-06 14:10:26 UTC) #14
oth
On 2015/10/06 14:10:26, rmcilroy wrote: > https://codereview.chromium.org/1378523005/diff/1/src/interpreter/bytecode-generator.cc > File src/interpreter/bytecode-generator.cc (right): > > https://codereview.chromium.org/1378523005/diff/1/src/interpreter/bytecode-generator.cc#newcode75 > ...
5 years, 2 months ago (2015-10-06 14:16:33 UTC) #15
rmcilroy
Toon: Any comments? If you've not got time to look over it now would you ...
5 years, 2 months ago (2015-10-07 12:27:52 UTC) #16
Toon Verwaest
the entire global handling is still in flux, but other than that, lgtm.
5 years, 2 months ago (2015-10-07 14:12:20 UTC) #17
rmcilroy
On 2015/10/07 14:12:20, Toon Verwaest wrote: > the entire global handling is still in flux, ...
5 years, 2 months ago (2015-10-07 17:54:19 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378523005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378523005/80001
5 years, 2 months ago (2015-10-07 17:54:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/7271)
5 years, 2 months ago (2015-10-07 17:57:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378523005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378523005/100001
5 years, 2 months ago (2015-10-07 19:13:58 UTC) #26
commit-bot: I haz the power
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/10462)
5 years, 2 months ago (2015-10-07 19:24:46 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1378523005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1378523005/120001
5 years, 2 months ago (2015-10-07 20:56:35 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 2 months ago (2015-10-07 21:19:07 UTC) #32
commit-bot: I haz the power
5 years, 2 months ago (2015-10-07 21:20:11 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/688eacdae9721e877cfe99430bc328bf2f6cf663
Cr-Commit-Position: refs/heads/master@{#31166}

Powered by Google App Engine
This is Rietveld 408576698