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

Issue 2450243002: [ignition] Add a property call bytecode (Closed)

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

Description

[ignition] Add a property call bytecode This is a new bytecode which behaves (for now) exactly like Call, except that in turbofan graph building we can set the ConvertReceiverMode to NotNullOrUndefined. I observe a 1% improvement on Box2D, I'd expect a similar improvement on other OOP heavy code. Committed: https://crrev.com/c4d770b182f414c52fecaea389dff17c1c97935c Cr-Commit-Position: refs/heads/master@{#40610}

Patch Set 1 #

Patch Set 2 : Fix tests #

Total comments: 9

Patch Set 3 : Address Ross's comments #

Patch Set 4 : Address remaining comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -32 lines) Patch
M src/compiler/bytecode-graph-builder.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/bytecode-graph-builder.cc View 1 2 3 2 chunks +11 lines, -4 lines 0 comments Download
M src/interpreter/bytecode-array-builder.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M src/interpreter/bytecode-array-builder.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M src/interpreter/bytecode-generator.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/interpreter/bytecodes.h View 2 chunks +4 lines, -2 lines 0 comments Download
M src/interpreter/bytecodes.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/ForOf.golden View 1 4 chunks +8 lines, -8 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/Generators.golden View 1 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/PropertyCall.golden View 1 4 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/interpreter/bytecode_expectations/RegExpLiterals.golden View 1 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/interpreter/test-interpreter.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M test/unittests/interpreter/bytecode-array-builder-unittest.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
Leszek Swirski
rmcilroy@chromium.org: Please review changes in interpreter and tests mstarzinger@chromium.org: Please review (probably just rubber stamp) ...
4 years, 1 month ago (2016-10-26 14:42:49 UTC) #8
rmcilroy
LGTM with two comments. https://codereview.chromium.org/2450243002/diff/20001/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/2450243002/diff/20001/src/interpreter/bytecode-array-builder.cc#newcode837 src/interpreter/bytecode-array-builder.cc:837: DCHECK(tail_call_mode == TailCallMode::kAllow); We should ...
4 years, 1 month ago (2016-10-26 16:20:16 UTC) #11
Michael Starzinger
LGTM on "compiler" with one comment. Didn't look at the rest. https://codereview.chromium.org/2450243002/diff/20001/src/compiler/bytecode-graph-builder.h File src/compiler/bytecode-graph-builder.h (right): ...
4 years, 1 month ago (2016-10-26 17:57:02 UTC) #16
Michael Starzinger
https://codereview.chromium.org/2450243002/diff/20001/src/interpreter/bytecode-array-builder.cc File src/interpreter/bytecode-array-builder.cc (right): https://codereview.chromium.org/2450243002/diff/20001/src/interpreter/bytecode-array-builder.cc#newcode837 src/interpreter/bytecode-array-builder.cc:837: DCHECK(tail_call_mode == TailCallMode::kAllow); On 2016/10/26 16:20:16, rmcilroy wrote: > ...
4 years, 1 month ago (2016-10-26 18:03:01 UTC) #17
Leszek Swirski
https://codereview.chromium.org/2450243002/diff/20001/src/compiler/bytecode-graph-builder.h File src/compiler/bytecode-graph-builder.h (right): https://codereview.chromium.org/2450243002/diff/20001/src/compiler/bytecode-graph-builder.h#newcode149 src/compiler/bytecode-graph-builder.h:149: ConvertReceiverMode receiver_hint = ConvertReceiverMode::kAny); On 2016/10/26 17:57:02, Michael Starzinger ...
4 years, 1 month ago (2016-10-27 09:08:24 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/2450243002/60001
4 years, 1 month ago (2016-10-27 09:08:57 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-27 09:35:43 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:15:01 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c4d770b182f414c52fecaea389dff17c1c97935c
Cr-Commit-Position: refs/heads/master@{#40610}

Powered by Google App Engine
This is Rietveld 408576698