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

Issue 1416623003: [Interpreter] Add support for for count operations. (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@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Interpreter] Add support for for count operations. Adds support for count operations to the interpreter. Deals with count operations on locals, globals, context allocated variables and named and keyed properties. Adds the following bytecodes: ToNumber Inc Dec BUG=v8:4280 LOG=N TBR=mstarzinger@chromium.org Committed: https://crrev.com/0030805643c58dd534e772e8603857372e095de7 Cr-Commit-Position: refs/heads/master@{#31484}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebased #

Patch Set 3 : Use handle(...) #

Patch Set 4 : Rebase #

Patch Set 5 : Fix gcc error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+620 lines, -40 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 2 chunks +18 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 3 chunks +33 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.h View 1 2 3 2 chunks +13 lines, -6 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 3 chunks +104 lines, -5 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 2 chunks +37 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 1 chunk +289 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 11 chunks +108 lines, -28 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 chunks +6 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 31 (13 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/1416623003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416623003/1
5 years, 2 months ago (2015-10-19 17:30:24 UTC) #2
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/9093) v8_linux64_rel on ...
5 years, 2 months ago (2015-10-19 17:31:23 UTC) #4
rmcilroy
Toon, Orion, PTAL, thanks.
5 years, 2 months ago (2015-10-19 17:31:27 UTC) #6
oth
lgtm. It'd be good to have an independent test of number cast but that'll come ...
5 years, 2 months ago (2015-10-20 11:18:35 UTC) #7
Toon Verwaest
lgtm https://codereview.chromium.org/1416623003/diff/1/test/cctest/interpreter/test-interpreter.cc File test/cctest/interpreter/test-interpreter.cc (right): https://codereview.chromium.org/1416623003/diff/1/test/cctest/interpreter/test-interpreter.cc#newcode2011 test/cctest/interpreter/test-interpreter.cc:2011: Handle<Object>(Smi::FromInt(2), isolate)), you could just write handle(Smi::FromInt(2), isolate)
5 years, 2 months ago (2015-10-20 13:42:28 UTC) #8
rmcilroy
Rebased to include the VisitForXXX CL. Orion could you give it a last quick once-over ...
5 years, 2 months ago (2015-10-22 12:47:56 UTC) #9
rmcilroy
Rebased to include the VisitForXXX CL. Orion could you give it a last quick once-over ...
5 years, 2 months ago (2015-10-22 12:47:56 UTC) #10
oth
On 2015/10/22 12:47:56, rmcilroy wrote: > Rebased to include the VisitForXXX CL. Orion could you ...
5 years, 2 months ago (2015-10-22 13:35:24 UTC) #11
Toon Verwaest
lgtm
5 years, 2 months ago (2015-10-22 13:55:12 UTC) #12
rmcilroy
TBR Michi for minor compiler/bytecode-graph-builder change
5 years, 2 months ago (2015-10-22 15:06:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416623003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416623003/60001
5 years, 2 months ago (2015-10-22 15:06:37 UTC) #17
commit-bot: I haz the power
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/7583)
5 years, 2 months ago (2015-10-22 15:15:06 UTC) #19
Michael Starzinger
LGTM (rubber-stamped for "compiler" directory, didn't look at the rest).
5 years, 2 months ago (2015-10-22 16:13:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416623003/80001
5 years, 2 months ago (2015-10-22 16:14:39 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416623003/80001
5 years, 2 months ago (2015-10-22 19:21:33 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416623003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416623003/80001
5 years, 2 months ago (2015-10-22 20:38:59 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-22 20:40:25 UTC) #30
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 20:40:35 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0030805643c58dd534e772e8603857372e095de7
Cr-Commit-Position: refs/heads/master@{#31484}

Powered by Google App Engine
This is Rietveld 408576698