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

Issue 2248633002: [interpreter] Add CreateBlockContext bytecode (Closed)

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

Description

[interpreter] Add CreateBlockContext bytecode Allows us to create a corresponding TurboFan node, so TF can optimize it. BUG=v8:4280 LOG=n Committed: https://crrev.com/b07444b16f4c4462fe72abe811ee354ea2dde266 Cr-Commit-Position: refs/heads/master@{#38651}

Patch Set 1 #

Patch Set 2 : add to builder test #

Patch Set 3 : rebase #

Patch Set 4 : regenerate golden files #

Total comments: 5

Patch Set 5 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -49 lines) Patch
M src/compiler/bytecode-graph-builder.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 1 chunk +2 lines, -11 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/BasicLoops.golden View 3 2 chunks +5 lines, -7 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden View 3 3 chunks +7 lines, -11 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ContextVariables.golden View 3 2 chunks +4 lines, -6 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 3 5 chunks +10 lines, -14 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
klaasb
4 years, 4 months ago (2016-08-15 15:31:03 UTC) #13
rmcilroy
Couple of nits, but LGTM once they are addressed. Thanks. https://codereview.chromium.org/2248633002/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2248633002/diff/60001/src/interpreter/bytecode-generator.cc#newcode3216 ...
4 years, 4 months ago (2016-08-15 16:01:04 UTC) #14
Michael Starzinger
LGTM from my end as well. https://codereview.chromium.org/2248633002/diff/60001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/2248633002/diff/60001/src/interpreter/bytecodes.h#newcode233 src/interpreter/bytecodes.h:233: V(CreateBlockContext, AccumulatorUse::kReadWrite, OperandType::kIdx) ...
4 years, 4 months ago (2016-08-16 08:23:41 UTC) #17
klaasb
https://codereview.chromium.org/2248633002/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2248633002/diff/60001/src/interpreter/bytecode-generator.cc#newcode3216 src/interpreter/bytecode-generator.cc:3216: scope->GetScopeInfo(isolate())); On 2016/08/15 16:01:04, rmcilroy wrote: > Don't use ...
4 years, 4 months ago (2016-08-16 10:40:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2248633002/80001
4 years, 4 months ago (2016-08-16 10:40:25 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-16 11:07:28 UTC) #23
commit-bot: I haz the power
4 years, 4 months ago (2016-08-16 11:07:50 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b07444b16f4c4462fe72abe811ee354ea2dde266
Cr-Commit-Position: refs/heads/master@{#38651}

Powered by Google App Engine
This is Rietveld 408576698