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

Issue 1309843007: [Interpreter] Add support for property load operations. (Closed)

Created:
5 years, 3 months ago by rmcilroy
Modified:
5 years, 3 months ago
CC:
v8-dev
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 property load operations. Adds support for property load operations via Load/KeyedLoad ICs. Adds the following bytecodes: - LoadIC - KeyedLoadIC Also adds support to the interpreter assembler for loading the type feedback vector from the function on the stack, and calling ICs. BUG=v8:4280 LOG=N Committed: https://crrev.com/d8df7468b4914f6075630e9f9d0f52d49334ebeb Cr-Commit-Position: refs/heads/master@{#30543}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Fix comparison #

Total comments: 3

Patch Set 3 : Review comments and fix debug check #

Total comments: 2

Patch Set 4 : Change evaluation order #

Patch Set 5 : Rebase #

Patch Set 6 : Remove templated FitsInOperand since std::is_integral is not supported on Mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+531 lines, -95 lines) Patch
M src/compiler/interpreter-assembler.h View 2 chunks +8 lines, -0 lines 0 comments Download
M src/compiler/interpreter-assembler.cc View 2 chunks +30 lines, -0 lines 0 comments Download
M src/frames.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 5 4 chunks +46 lines, -3 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 1 chunk +7 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 9 chunks +81 lines, -40 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 chunk +28 lines, -24 lines 0 comments Download
M src/interpreter/interpreter.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 chunks +40 lines, -1 line 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 2 3 11 chunks +110 lines, -18 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 3 6 chunks +108 lines, -4 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M test/unittests/compiler/interpreter-assembler-unittest.cc View 1 2 3 4 3 chunks +51 lines, -4 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 chunk +4 lines, -0 lines 0 comments Download

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/1309843007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309843007/20001
5 years, 3 months ago (2015-09-01 13:17:54 UTC) #3
rmcilroy
Adds support for loadICs to the interpreter. Michi for TF stuff Michael for TypeFeedbackVector stuff ...
5 years, 3 months ago (2015-09-01 13:19:27 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_gcc_compile_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_gcc_compile_rel/builds/5951)
5 years, 3 months ago (2015-09-01 13:22:06 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309843007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309843007/40001
5 years, 3 months ago (2015-09-01 13:55:17 UTC) #9
oth
Looks good here. One minor comment about template use. https://codereview.chromium.org/1309843007/diff/20001/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/1309843007/diff/20001/src/interpreter/bytecode-array-builder.cc#newcode303 src/interpreter/bytecode-array-builder.cc:303: ...
5 years, 3 months ago (2015-09-01 14:01:54 UTC) #10
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/9333)
5 years, 3 months ago (2015-09-01 14:04:02 UTC) #12
mvstanton
Vector lgtm, a couple of comments - love the tests. https://codereview.chromium.org/1309843007/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1309843007/diff/20001/test/cctest/interpreter/test-bytecode-generator.cc#newcode342 ...
5 years, 3 months ago (2015-09-01 14:28:30 UTC) #13
rmcilroy
https://codereview.chromium.org/1309843007/diff/20001/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/1309843007/diff/20001/src/interpreter/bytecode-array-builder.cc#newcode303 src/interpreter/bytecode-array-builder.cc:303: bool BytecodeArrayBuilder::FitsByteOperand(T value) { On 2015/09/01 14:01:54, oth wrote: ...
5 years, 3 months ago (2015-09-01 15:53:36 UTC) #14
mvstanton
still lgtm https://codereview.chromium.org/1309843007/diff/40001/src/compiler/interpreter-assembler.cc File src/compiler/interpreter-assembler.cc (right): https://codereview.chromium.org/1309843007/diff/40001/src/compiler/interpreter-assembler.cc#newcode239 src/compiler/interpreter-assembler.cc:239: Node* InterpreterAssembler::CallIC(CallInterfaceDescriptor descriptor, On 2015/09/01 15:53:36, rmcilroy ...
5 years, 3 months ago (2015-09-01 16:54:13 UTC) #15
Michael Starzinger
Looking good, just one issue about evaluation order. https://codereview.chromium.org/1309843007/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1309843007/diff/60001/src/interpreter/bytecode-generator.cc#newcode318 src/interpreter/bytecode-generator.cc:318: Visit(expr->obj()); ...
5 years, 3 months ago (2015-09-02 08:16:14 UTC) #16
rmcilroy
https://codereview.chromium.org/1309843007/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1309843007/diff/60001/src/interpreter/bytecode-generator.cc#newcode318 src/interpreter/bytecode-generator.cc:318: Visit(expr->obj()); On 2015/09/02 08:16:14, Michael Starzinger wrote: > The ...
5 years, 3 months ago (2015-09-02 11:21:20 UTC) #17
Michael Starzinger
LGTM from my end.
5 years, 3 months ago (2015-09-02 11:31:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309843007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309843007/80001
5 years, 3 months ago (2015-09-02 11:43:29 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/6230)
5 years, 3 months ago (2015-09-02 11:46:31 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309843007/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309843007/100001
5 years, 3 months ago (2015-09-02 11:55:48 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/9395)
5 years, 3 months ago (2015-09-02 11:58:32 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309843007/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309843007/120001
5 years, 3 months ago (2015-09-02 12:37:58 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 3 months ago (2015-09-02 13:03:13 UTC) #32
commit-bot: I haz the power
5 years, 3 months ago (2015-09-02 13:03:29 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d8df7468b4914f6075630e9f9d0f52d49334ebeb
Cr-Commit-Position: refs/heads/master@{#30543}

Powered by Google App Engine
This is Rietveld 408576698