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

Issue 2487573005: [Interpreter] Optimize for monomorphic case in Call and New bytecode handlers. (Closed)

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

Description

[Interpreter] Optimize for monomorphic case in Call and New bytecode handlers. Fast case the monomorphic case, by marking the additional checks as deferred blocks. This increases the code size by about 50 bytes, but the monmorphic case requires one fewer jump and the all the code is contiguous, so may help caching. Also cleanup call and new bytecode handlers by changing some of the Branches to GotoIf/Unless for better readability. BUG=v8:4280 Committed: https://crrev.com/be360af21a9ab958d7705020ed63a0275c386b0b Cr-Commit-Position: refs/heads/master@{#40910}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -169 lines) Patch
M src/interpreter/interpreter-assembler.cc View 1 6 chunks +142 lines, -169 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
mythria
This cl is to cleanup call and new bytecode handlers. The only important change is ...
4 years, 1 month ago (2016-11-09 11:49:28 UTC) #5
rmcilroy
LGTM, thanks. https://codereview.chromium.org/2487573005/diff/1/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/2487573005/diff/1/src/interpreter/interpreter-assembler.cc#newcode786 src/interpreter/interpreter-assembler.cc:786: // Make sure the function is the ...
4 years, 1 month ago (2016-11-09 15:16:07 UTC) #8
mythria
Thanks Ross. fixed the comments. https://codereview.chromium.org/2487573005/diff/1/src/interpreter/interpreter-assembler.cc File src/interpreter/interpreter-assembler.cc (right): https://codereview.chromium.org/2487573005/diff/1/src/interpreter/interpreter-assembler.cc#newcode786 src/interpreter/interpreter-assembler.cc:786: // Make sure the ...
4 years, 1 month ago (2016-11-10 11:23:23 UTC) #9
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/2487573005/20001
4 years, 1 month ago (2016-11-11 09:14:46 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-11 09:16:28 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:30:03 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/be360af21a9ab958d7705020ed63a0275c386b0b
Cr-Commit-Position: refs/heads/master@{#40910}

Powered by Google App Engine
This is Rietveld 408576698