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

Issue 1321663003: [Interpreter] Add support for loading literals from the constant pool. (Closed)

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

Description

[Interpreter] Add support for loading literals from the constant pool. Adds support to the interpreter for loading literals from the constant pool. Adds the LoadConstant bytecode and makes use of it for loading large Smis and HeapObject literals. Also removes unused HandleVector from utils.h. BUG=v8:4280 LOG=N Committed: https://crrev.com/b41647543542be0ac009d5b707d4117af8b7ba6e Cr-Commit-Position: refs/heads/master@{#30450}

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+404 lines, -76 lines) Patch
M src/compiler/interpreter-assembler.h View 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 1 2 chunks +17 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 4 chunks +11 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 5 chunks +46 lines, -3 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M src/interpreter/bytecodes.h View 2 chunks +2 lines, -0 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/utils.h View 1 chunk +0 lines, -11 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 9 chunks +179 lines, -19 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 15 chunks +76 lines, -30 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 2 chunks +22 lines, -0 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 7 chunks +29 lines, -5 lines 0 comments Download

Messages

Total messages: 31 (12 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/1321663003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321663003/1
5 years, 3 months ago (2015-08-27 15:31:56 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_mipsel_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_mipsel_compile_rel/builds/4105)
5 years, 3 months ago (2015-08-27 15:35:45 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321663003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321663003/20001
5 years, 3 months ago (2015-08-27 15:52:34 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_android_arm_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/7284)
5 years, 3 months ago (2015-08-27 15:57:49 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321663003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321663003/40001
5 years, 3 months ago (2015-08-27 16:14:53 UTC) #12
rmcilroy
Michi, could you take a look please? Thanks. https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc#newcode257 test/cctest/interpreter/test-bytecode-generator.cc:257: { ...
5 years, 3 months ago (2015-08-27 16:34:07 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-27 16:45:53 UTC) #16
Michael Starzinger
Just replying to comment. Will do review tomorrow. https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc#newcode257 test/cctest/interpreter/test-bytecode-generator.cc:257: { ...
5 years, 3 months ago (2015-08-27 19:36:29 UTC) #17
Michael Starzinger
https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc#newcode257 test/cctest/interpreter/test-bytecode-generator.cc:257: { 3.14, 3.14 } On 2015/08/27 19:36:29, Michael Starzinger ...
5 years, 3 months ago (2015-08-27 19:55:36 UTC) #18
titzer
On 2015/08/27 19:55:36, Michael Starzinger wrote: > https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc > File test/cctest/interpreter/test-bytecode-generator.cc (right): > > https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc#newcode257 ...
5 years, 3 months ago (2015-08-27 20:01:29 UTC) #19
rmcilroy
On 2015/08/27 20:01:29, titzer wrote: > On 2015/08/27 19:55:36, Michael Starzinger wrote: > > > ...
5 years, 3 months ago (2015-08-28 09:22:35 UTC) #20
Michael Starzinger
Looking good. Just a few comments. https://codereview.chromium.org/1321663003/diff/40001/src/DEPS File src/DEPS (right): https://codereview.chromium.org/1321663003/diff/40001/src/DEPS#newcode8 src/DEPS:8: "+src/heap/identity-map.h", I have ...
5 years, 3 months ago (2015-08-28 12:21:04 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321663003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321663003/60001
5 years, 3 months ago (2015-08-28 14:41:58 UTC) #23
rmcilroy
Review comments addressed, PTAL, thanks. https://codereview.chromium.org/1321663003/diff/40001/src/DEPS File src/DEPS (right): https://codereview.chromium.org/1321663003/diff/40001/src/DEPS#newcode8 src/DEPS:8: "+src/heap/identity-map.h", Done (thanks for ...
5 years, 3 months ago (2015-08-28 14:42:05 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-08-28 15:08:14 UTC) #26
Michael Starzinger
LGTM.
5 years, 3 months ago (2015-08-28 15:08:34 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1321663003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1321663003/60001
5 years, 3 months ago (2015-08-28 15:39:09 UTC) #29
commit-bot: I haz the power
Committed patchset #2 (id:60001)
5 years, 3 months ago (2015-08-28 15:41:00 UTC) #30
commit-bot: I haz the power
5 years, 3 months ago (2015-08-28 15:41:15 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b41647543542be0ac009d5b707d4117af8b7ba6e
Cr-Commit-Position: refs/heads/master@{#30450}

Powered by Google App Engine
This is Rietveld 408576698