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

Issue 1415093006: [Interpreter] Add switch support. (Closed)

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

Description

[Interpreter] Add switch support. Adds support for switch statments to the interpreter. BUG=v8:4280 LOG=N Committed: https://crrev.com/40f8605ff987031b2dc104c71f5f89754281cd29 Cr-Commit-Position: refs/heads/master@{#31687}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Review comments and nested switch tests #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+558 lines, -55 lines) Patch
M src/interpreter/bytecode-array-builder.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 chunks +78 lines, -2 lines 0 comments Download
M src/interpreter/control-flow-builders.h View 1 chunk +72 lines, -23 lines 0 comments Download
M src/interpreter/control-flow-builders.cc View 2 chunks +46 lines, -14 lines 0 comments Download
M test/cctest/interpreter/test-bytecode-generator.cc View 1 1 chunk +264 lines, -0 lines 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 16 chunks +95 lines, -15 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
rmcilroy
Orion / Mythri: please take a look, thanks. Michi: FYI (any comments welcome)
5 years, 1 month ago (2015-10-29 17:48:32 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415093006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415093006/20001
5 years, 1 month ago (2015-10-29 17:48:42 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-29 18:19:54 UTC) #7
oth
lgtm. Very nice! https://codereview.chromium.org/1415093006/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1415093006/diff/20001/src/interpreter/bytecode-generator.cc#newcode108 src/interpreter/bytecode-generator.cc:108: class BytecodeGenerator::ControlScopeForSwitch Nit - suggest putting ...
5 years, 1 month ago (2015-10-30 10:10:04 UTC) #8
rmcilroy
Also added some nested switch tests. https://codereview.chromium.org/1415093006/diff/20001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1415093006/diff/20001/src/interpreter/bytecode-generator.cc#newcode108 src/interpreter/bytecode-generator.cc:108: class BytecodeGenerator::ControlScopeForSwitch On ...
5 years, 1 month ago (2015-10-30 11:47:00 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/1415093006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415093006/40001
5 years, 1 month ago (2015-10-30 11:48:43 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/9623) v8_linux_dbg on ...
5 years, 1 month ago (2015-10-30 11:49:32 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415093006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415093006/60001
5 years, 1 month ago (2015-10-30 11:53:33 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-30 12:24:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415093006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415093006/60001
5 years, 1 month ago (2015-10-30 12:34:44 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 1 month ago (2015-10-30 12:55:10 UTC) #21
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 12:55:36 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/40f8605ff987031b2dc104c71f5f89754281cd29
Cr-Commit-Position: refs/heads/master@{#31687}

Powered by Google App Engine
This is Rietveld 408576698