Chromium Code Reviews

Issue 1553703002: [runtime] TailCallRuntime and CallRuntime should use default argument counts (Closed)

Created:
4 years, 11 months ago by Camillo Bruni
Modified:
4 years, 11 months ago
Reviewers:
Benedikt Meurer, Igor Sheludko
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@2015-12-29_TailCallRuntime_default_result_size_1_1550923002
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[runtime] TailCallRuntime and CallRuntime should use default argument counts specified in runtime.h. In the vast majority of the cases when we call into the runtime we use the default number of arguments. Hence, there is not need to specify it again. This CL also removes TailCallExternalReference as there were no users. BUG= Committed: https://crrev.com/b889d79de1e9af4719228536c736351c5680f25e Cr-Commit-Position: refs/heads/master@{#33066}

Patch Set 1 #

Total comments: 14
Unified diffs Side-by-side diffs Stats (+1342 lines, -1380 lines)
M src/arm/builtins-arm.cc View 24 chunks +25 lines, -25 lines 0 comments
M src/arm/code-stubs-arm.cc View 31 chunks +35 lines, -37 lines 0 comments
M src/arm/macro-assembler-arm.h View 1 chunk +12 lines, -12 lines 0 comments
M src/arm/macro-assembler-arm.cc View 1 chunk +11 lines, -14 lines 0 comments
M src/arm64/builtins-arm64.cc View 24 chunks +25 lines, -25 lines 0 comments
M src/arm64/code-stubs-arm64.cc View 30 chunks +35 lines, -37 lines 0 comments
M src/arm64/macro-assembler-arm64.h View 2 chunks +15 lines, -11 lines 0 comments
M src/arm64/macro-assembler-arm64.cc View 1 chunk +11 lines, -14 lines 0 comments
M src/builtins.cc View 1 chunk +2 lines, -2 lines 0 comments
M src/crankshaft/arm/lithium-codegen-arm.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/arm/lithium-codegen-arm.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/crankshaft/arm64/lithium-codegen-arm64.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/crankshaft/ia32/lithium-codegen-ia32.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/crankshaft/mips/lithium-codegen-mips.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/mips/lithium-codegen-mips.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/crankshaft/mips64/lithium-codegen-mips64.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/crankshaft/ppc/lithium-codegen-ppc.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/ppc/lithium-codegen-ppc.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/crankshaft/x64/lithium-codegen-x64.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/x64/lithium-codegen-x64.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/crankshaft/x87/lithium-codegen-x87.h View 1 chunk +5 lines, -0 lines 0 comments
M src/crankshaft/x87/lithium-codegen-x87.cc View 6 chunks +6 lines, -6 lines 0 comments
M src/full-codegen/arm/full-codegen-arm.cc View 51 chunks +58 lines, -61 lines 0 comments
M src/full-codegen/arm64/full-codegen-arm64.cc View 51 chunks +58 lines, -61 lines 0 comments
M src/full-codegen/full-codegen.cc View 8 chunks +9 lines, -9 lines 0 comments
M src/full-codegen/ia32/full-codegen-ia32.cc View 50 chunks +58 lines, -61 lines 0 comments
M src/full-codegen/mips/full-codegen-mips.cc View 51 chunks +58 lines, -61 lines 0 comments
M src/full-codegen/mips64/full-codegen-mips64.cc View 51 chunks +58 lines, -61 lines 0 comments
M src/full-codegen/ppc/full-codegen-ppc.cc View 51 chunks +58 lines, -61 lines 0 comments
M src/full-codegen/x64/full-codegen-x64.cc View 51 chunks +58 lines, -61 lines 0 comments
M src/full-codegen/x87/full-codegen-x87.cc View 50 chunks +58 lines, -61 lines 0 comments
M src/ia32/builtins-ia32.cc View 24 chunks +25 lines, -25 lines 0 comments
M src/ia32/code-stubs-ia32.cc View 31 chunks +35 lines, -37 lines 0 comments
M src/ia32/macro-assembler-ia32.h View 1 chunk +12 lines, -11 lines 0 comments
M src/ia32/macro-assembler-ia32.cc View 1 chunk +21 lines, -14 lines 1 comment
M src/ic/arm/handler-compiler-arm.cc View 6 chunks +8 lines, -7 lines 1 comment
M src/ic/arm/ic-arm.cc View 6 chunks +6 lines, -10 lines 1 comment
M src/ic/arm/ic-compiler-arm.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/arm64/handler-compiler-arm64.cc View 6 chunks +8 lines, -8 lines 1 comment
M src/ic/arm64/ic-arm64.cc View 6 chunks +6 lines, -10 lines 0 comments
M src/ic/arm64/ic-compiler-arm64.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/ia32/handler-compiler-ia32.cc View 6 chunks +8 lines, -7 lines 1 comment
M src/ic/ia32/ic-compiler-ia32.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/ia32/ic-ia32.cc View 6 chunks +6 lines, -10 lines 0 comments
M src/ic/mips/handler-compiler-mips.cc View 6 chunks +8 lines, -7 lines 1 comment
M src/ic/mips/ic-compiler-mips.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/mips/ic-mips.cc View 6 chunks +6 lines, -10 lines 0 comments
M src/ic/mips64/handler-compiler-mips64.cc View 6 chunks +8 lines, -7 lines 0 comments
M src/ic/mips64/ic-compiler-mips64.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/mips64/ic-mips64.cc View 6 chunks +6 lines, -10 lines 0 comments
M src/ic/ppc/handler-compiler-ppc.cc View 6 chunks +8 lines, -7 lines 1 comment
M src/ic/ppc/ic-compiler-ppc.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/ppc/ic-ppc.cc View 6 chunks +6 lines, -10 lines 0 comments
M src/ic/x64/handler-compiler-x64.cc View 6 chunks +8 lines, -7 lines 1 comment
M src/ic/x64/ic-compiler-x64.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/x64/ic-x64.cc View 6 chunks +6 lines, -10 lines 0 comments
M src/ic/x87/handler-compiler-x87.cc View 6 chunks +8 lines, -7 lines 1 comment
M src/ic/x87/ic-compiler-x87.cc View 1 chunk +1 line, -1 line 0 comments
M src/ic/x87/ic-x87.cc View 6 chunks +6 lines, -10 lines 0 comments
M src/mips/builtins-mips.cc View 25 chunks +26 lines, -26 lines 0 comments
M src/mips/code-stubs-mips.cc View 30 chunks +34 lines, -36 lines 0 comments
M src/mips/macro-assembler-mips.h View 2 chunks +9 lines, -6 lines 0 comments
M src/mips/macro-assembler-mips.cc View 1 chunk +7 lines, -14 lines 1 comment
M src/mips64/builtins-mips64.cc View 25 chunks +26 lines, -26 lines 0 comments
M src/mips64/code-stubs-mips64.cc View 30 chunks +34 lines, -36 lines 0 comments
M src/mips64/macro-assembler-mips64.h View 2 chunks +13 lines, -11 lines 0 comments
M src/mips64/macro-assembler-mips64.cc View 1 chunk +7 lines, -14 lines 1 comment
M src/ppc/builtins-ppc.cc View 23 chunks +24 lines, -24 lines 0 comments
M src/ppc/code-stubs-ppc.cc View 31 chunks +35 lines, -37 lines 0 comments
M src/ppc/macro-assembler-ppc.h View 1 chunk +12 lines, -11 lines 0 comments
M src/ppc/macro-assembler-ppc.cc View 1 chunk +7 lines, -14 lines 1 comment
M src/runtime/runtime.h View 1 chunk +19 lines, -19 lines 1 comment
M src/x64/builtins-x64.cc View 25 chunks +25 lines, -25 lines 0 comments
M src/x64/code-stubs-x64.cc View 29 chunks +35 lines, -37 lines 0 comments
M src/x64/macro-assembler-x64.h View 1 chunk +14 lines, -14 lines 0 comments
M src/x64/macro-assembler-x64.cc View 1 chunk +10 lines, -14 lines 1 comment
M src/x87/builtins-x87.cc View 24 chunks +25 lines, -25 lines 0 comments
M src/x87/code-stubs-x87.cc View 31 chunks +35 lines, -37 lines 0 comments

Depends on Patchset:

Messages

Total messages: 22 (11 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/1553703002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1553703002/1
4 years, 11 months ago (2015-12-30 13:10:35 UTC) #2
Camillo Bruni
PTAL sorry for the long CL :( https://codereview.chromium.org/1553703002/diff/1/src/ic/arm/ic-arm.cc File src/ic/arm/ic-arm.cc (left): https://codereview.chromium.org/1553703002/diff/1/src/ic/arm/ic-arm.cc#oldcode313 src/ic/arm/ic-arm.cc:313: __ TailCallRuntime(Runtime::kLoadIC_Miss, ...
4 years, 11 months ago (2015-12-30 13:31:47 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2015-12-30 13:39:53 UTC) #7
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/1553703002/diff/1/src/ia32/macro-assembler-ia32.cc File src/ia32/macro-assembler-ia32.cc (right): https://codereview.chromium.org/1553703002/diff/1/src/ia32/macro-assembler-ia32.cc#newcode1904 src/ia32/macro-assembler-ia32.cc:1904: // ----------- S t a t ...
4 years, 11 months ago (2015-12-30 14:48:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1553703002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1553703002/1
4 years, 11 months ago (2015-12-30 15:44:05 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/9339)
4 years, 11 months ago (2015-12-30 15:48:55 UTC) #13
Camillo Bruni
bmeurer: please take a look at the changes in crankshaft/*
4 years, 11 months ago (2015-12-30 16:19:58 UTC) #15
Benedikt Meurer
LGTM on crankshaft.
4 years, 11 months ago (2015-12-30 18:07:22 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1553703002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1553703002/1
4 years, 11 months ago (2015-12-30 20:47:25 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2015-12-30 20:50:14 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2015-12-30 20:51:12 UTC) #22
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b889d79de1e9af4719228536c736351c5680f25e
Cr-Commit-Position: refs/heads/master@{#33066}

Powered by Google App Engine