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

Issue 2510743002: [interpreter] Bytecode for StaDataPropertyInLiteral. (Closed)

Created:
4 years, 1 month ago by Franzi
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, rmcilroy
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[interpreter] Bytecode for StaDataPropertyInLiteral. Add bytecode for defining data properties, which initially just calls the runtime function. BUG=v8:5624 Committed: https://crrev.com/f7795cbf6e5be1e04536ed5380e2f46767344e2b Cr-Commit-Position: refs/heads/master@{#41101}

Patch Set 1 #

Patch Set 2 : Fix accumulator value. #

Patch Set 3 : Replace second runtime with bytecode. #

Patch Set 4 : Implement visitStaDataPropertyInLiteral. #

Patch Set 5 : Quick fix with NodeNode(5 args). #

Patch Set 6 : wip #

Patch Set 7 : With classes #

Patch Set 8 : Rebaseline bytecode expectations. #

Patch Set 9 : Rename args to attrs #

Patch Set 10 : Delete unused variable. #

Total comments: 2

Patch Set 11 : Delete double line. #

Total comments: 10

Patch Set 12 : Address review comments. #

Patch Set 13 : Delete unused set_function_name. #

Patch Set 14 : Delete extra test. #

Patch Set 15 : Fix typo. #

Total comments: 2

Patch Set 16 : Add comment and move interpreter function. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -69 lines) Patch
M src/compiler/bytecode-graph-builder.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +17 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +7 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -0 lines 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +15 lines, -17 lines 0 comments Download
M src/interpreter/bytecodes.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +27 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ClassDeclarations.golden View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +10 lines, -17 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ObjectLiterals.golden View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +28 lines, -34 lines 0 comments Download
M test/mjsunit/object-literal.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (52 generated)
Franzi
Please take a look. Thanks, Franzi
4 years, 1 month ago (2016-11-17 15:58:06 UTC) #29
Leszek Swirski
Seems reasonable to me, adding Ross to reviewers in case I missed something. https://codereview.chromium.org/2510743002/diff/180001/src/interpreter/bytecode-generator.cc File ...
4 years, 1 month ago (2016-11-17 16:58:48 UTC) #34
Franzi
https://codereview.chromium.org/2510743002/diff/180001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (right): https://codereview.chromium.org/2510743002/diff/180001/src/interpreter/bytecode-generator.cc#newcode1484 src/interpreter/bytecode-generator.cc:1484: .StoreAccumulatorInRegister(set_function_name); On 2016/11/17 16:58:48, Leszek Swirski wrote: > you ...
4 years, 1 month ago (2016-11-17 17:06:10 UTC) #37
rmcilroy
https://codereview.chromium.org/2510743002/diff/200001/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): https://codereview.chromium.org/2510743002/diff/200001/src/compiler/bytecode-graph-builder.cc#newcode803 src/compiler/bytecode-graph-builder.cc:803: environment()->BindAccumulator(store, Environment::kAttachFrameState); You shouldn't be calling BindAccumulator here since ...
4 years, 1 month ago (2016-11-17 17:18:17 UTC) #38
Franzi
Ross, thanks for the detailed review. Please take another look. Franzi https://codereview.chromium.org/2510743002/diff/200001/src/compiler/bytecode-graph-builder.cc File src/compiler/bytecode-graph-builder.cc (right): ...
4 years, 1 month ago (2016-11-18 09:11:53 UTC) #49
Benedikt Meurer
compiler part LGTM.
4 years, 1 month ago (2016-11-18 09:17:39 UTC) #50
rmcilroy
LGTM, thanks. https://codereview.chromium.org/2510743002/diff/280001/src/interpreter/bytecode-generator.cc File src/interpreter/bytecode-generator.cc (left): https://codereview.chromium.org/2510743002/diff/280001/src/interpreter/bytecode-generator.cc#oldcode1489 src/interpreter/bytecode-generator.cc:1489: args.Truncate(4)); Thanks for fixing this too! https://codereview.chromium.org/2510743002/diff/280001/src/interpreter/interpreter.cc ...
4 years, 1 month ago (2016-11-18 09:33:50 UTC) #51
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/2510743002/300001
4 years, 1 month ago (2016-11-18 12:11:34 UTC) #58
commit-bot: I haz the power
Committed patchset #16 (id:300001)
4 years, 1 month ago (2016-11-18 12:13:38 UTC) #60
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 12:13:58 UTC) #62
Message was sent while issue was closed.
Patchset 16 (id:??) landed as
https://crrev.com/f7795cbf6e5be1e04536ed5380e2f46767344e2b
Cr-Commit-Position: refs/heads/master@{#41101}

Powered by Google App Engine
This is Rietveld 408576698