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

Issue 1922523002: [Interpreter] Use FastCloneShallowObjectStub in CreateObjectLiteral bytecode. (Closed)

Created:
4 years, 8 months ago by rmcilroy
Modified:
4 years, 7 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] Use FastCloneShallowObjectStub in CreateObjectLiteral bytecode. Adapts FastCloneShallowObjectStub to enable it to be used by the CreateObjectLiteral bytecode. BUG=v8:4280 LOG=N Committed: https://crrev.com/ac2a17abcb2a179718816dea8ccfb11cd74b8177 Cr-Commit-Position: refs/heads/master@{#35909}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Address Toon's comments #

Total comments: 10

Patch Set 4 : Address comments #

Patch Set 5 : Add todo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -93 lines) Patch
M src/code-stub-assembler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M src/code-stubs.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 3 chunks +75 lines, -25 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/compiler/code-assembler.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/compiler/code-assembler.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 chunk +2 lines, -7 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 2 chunks +15 lines, -3 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 2 chunks +60 lines, -21 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CompoundExpressions.golden View 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/CountOperators.golden View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Delete.golden View 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForIn.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden View 16 chunks +16 lines, -16 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ObjectLiteralsWide.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/TopLevelObjectLiterals.golden View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/bytecode_expectations/WithStatement.golden View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (10 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/1922523002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922523002/1
4 years, 8 months ago (2016-04-25 14:14:37 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/676) v8_linux64_avx2_rel_ng_triggered on ...
4 years, 8 months ago (2016-04-25 14:29:28 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/1922523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922523002/20001
4 years, 8 months ago (2016-04-25 15:42:12 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-25 16:17:40 UTC) #9
rmcilroy
Toon, this is an attempt to make FastCloneShallowObjectStub usable by the interpreter. I'm inlining the ...
4 years, 8 months ago (2016-04-26 09:14:54 UTC) #11
Toon Verwaest
lgtm https://codereview.chromium.org/1922523002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/1922523002/diff/40001/src/interpreter/interpreter.cc#newcode1458 src/interpreter/interpreter.cc:1458: __ BranchIf(fast_clone_properties_count, &if_fast_clone, &if_not_fast_clone); Does this flag change ...
4 years, 8 months ago (2016-04-27 08:50:20 UTC) #12
rmcilroy
Orion: PTAL at interpreter changes Michi: PTAL at code-stub-assembler and compiler. changes. https://codereview.chromium.org/1922523002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc ...
4 years, 7 months ago (2016-04-28 13:30:52 UTC) #14
oth
lgtm on interpreter, thanks. https://codereview.chromium.org/1922523002/diff/60001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/1922523002/diff/60001/src/interpreter/bytecode-generator.cc#newcode1550 src/interpreter/bytecode-generator.cc:1550: STATIC_ASSERT( This assertion might be ...
4 years, 7 months ago (2016-04-28 14:17:15 UTC) #15
Michael Starzinger
LGTM. https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc#newcode3820 src/code-stubs.cc:3820: int FastCloneShallowObjectStub::PropertiesCount(int literal_length) { Non-actionable question just for ...
4 years, 7 months ago (2016-04-29 08:37:31 UTC) #16
Toon Verwaest
lgtm https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc#newcode3820 src/code-stubs.cc:3820: int FastCloneShallowObjectStub::PropertiesCount(int literal_length) { On 2016/04/29 08:37:31, Michael ...
4 years, 7 months ago (2016-04-29 09:07:10 UTC) #17
Michael Starzinger
https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc#newcode3820 src/code-stubs.cc:3820: int FastCloneShallowObjectStub::PropertiesCount(int literal_length) { On 2016/04/29 09:07:10, Toon Verwaest ...
4 years, 7 months ago (2016-04-29 09:51:37 UTC) #18
rmcilroy
https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/1922523002/diff/60001/src/code-stubs.cc#newcode3820 src/code-stubs.cc:3820: int FastCloneShallowObjectStub::PropertiesCount(int literal_length) { On 2016/04/29 09:51:36, Michael Starzinger ...
4 years, 7 months ago (2016-04-29 13:53:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1922523002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1922523002/100001
4 years, 7 months ago (2016-04-29 13:55:02 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 7 months ago (2016-04-29 14:19:27 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:03:56 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ac2a17abcb2a179718816dea8ccfb11cd74b8177
Cr-Commit-Position: refs/heads/master@{#35909}

Powered by Google App Engine
This is Rietveld 408576698