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

Issue 2838143003: [stubs] Drop CallApiCallbackStub::call_data_undefined optimization. (Closed)

Created:
3 years, 8 months ago by Benedikt Meurer
Modified:
3 years, 8 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs] Drop CallApiCallbackStub::call_data_undefined optimization. The CallApiCallbackStub can avoid loading undefined in case the call_data is already undefined, which doubles the number of versions of the stub and adds unnecessary complexity (at the benefit of saving one stupid load). The idea is to turn the CallApiCallbackStub into a single builtin instead, which does the right thing, so this is the first step towards that goal. R=yangguo@chromium.org BUG=v8:6304 Review-Url: https://codereview.chromium.org/2838143003 Cr-Commit-Position: refs/heads/master@{#44869} Committed: https://chromium.googlesource.com/v8/v8/+/46d0e4818a361b3fb535e1c78973b4d1ace000dc

Patch Set 1 #

Patch Set 2 : Fix handler-compiler for remaining archs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -75 lines) Patch
M src/arm/code-stubs-arm.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/arm64/code-stubs-arm64.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/code-stubs.h View 1 chunk +6 lines, -16 lines 0 comments Download
M src/compiler/js-call-reducer.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/js-native-context-specialization.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/crankshaft/hydrogen.cc View 3 chunks +2 lines, -3 lines 0 comments Download
M src/ia32/code-stubs-ia32.cc View 1 chunk +5 lines, -12 lines 0 comments Download
M src/ic/arm/handler-compiler-arm.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M src/ic/arm64/handler-compiler-arm64.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M src/ic/ia32/handler-compiler-ia32.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M src/ic/mips/handler-compiler-mips.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M src/ic/mips64/handler-compiler-mips64.cc View 1 2 chunks +1 line, -4 lines 0 comments Download
M src/ic/x64/handler-compiler-x64.cc View 2 chunks +1 line, -4 lines 0 comments Download
M src/mips/code-stubs-mips.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/mips64/code-stubs-mips64.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/x64/code-stubs-x64.cc View 1 chunk +4 lines, -6 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (11 generated)
Benedikt Meurer
3 years, 8 months ago (2017-04-25 17:09:46 UTC) #1
Benedikt Meurer
Hey Yang, Here's a first step towards simplifying the CallApiCallbackStub. Please take a look. Thanks, ...
3 years, 8 months ago (2017-04-25 17:16:05 UTC) #8
Yang
lgtm
3 years, 8 months ago (2017-04-25 19:46:22 UTC) #11
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/2838143003/20001
3 years, 8 months ago (2017-04-25 19:47:07 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 19:48:31 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/46d0e4818a361b3fb535e1c78973b4d1ace...

Powered by Google App Engine
This is Rietveld 408576698