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

Issue 2177273002: Make FastNewFunctionContextStub take slots parameter (Closed)

Created:
4 years, 4 months ago by klaasb
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Make FastNewFunctionContextStub take slots parameter This will enable the interpreter to add a bytecode and use the stub. BUG=v8:4280 LOG=n Committed: https://crrev.com/5bc243978396ab902f115e49aff2cf4bcb5d8a4c Cr-Commit-Position: refs/heads/master@{#38219}

Patch Set 1 #

Patch Set 2 : fix other architectures #

Patch Set 3 : fix arm{,64},mips{,64} and remove ppc,s390,x87 again #

Total comments: 14

Patch Set 4 : move loop check #

Total comments: 2

Patch Set 5 : comment and shift #

Total comments: 7

Patch Set 6 : fix type and interface descriptor #

Patch Set 7 : remove kMaximumSlots distinction #

Patch Set 8 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -155 lines) Patch
M src/arm/interface-descriptors-arm.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M src/arm64/interface-descriptors-arm64.cc View 2 chunks +5 lines, -7 lines 0 comments Download
M src/code-factory.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/code-factory.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -11 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 2 chunks +29 lines, -10 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -8 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M src/crankshaft/arm64/lithium-codegen-arm64.cc View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 1 chunk +4 lines, -5 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M src/crankshaft/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 1 chunk +3 lines, -5 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 3 4 5 6 1 chunk +6 lines, -9 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -9 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -9 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M src/ia32/interface-descriptors-ia32.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -2 lines 0 comments Download
M src/interface-descriptors.cc View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download
M src/mips/interface-descriptors-mips.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M src/mips64/interface-descriptors-mips64.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M src/x64/interface-descriptors-x64.cc View 2 chunks +5 lines, -6 lines 0 comments Download

Messages

Total messages: 38 (25 generated)
klaasb
https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.cc#newcode4508 src/code-stubs.cc:4508: assembler->Int32Constant(Context::MIN_CONTEXT_SLOTS); I've used int32 throughout, as it was used ...
4 years, 4 months ago (2016-07-26 17:04:52 UTC) #16
rmcilroy
Overall looks good. Couple of comments and suggestions. https://codereview.chromium.org/2177273002/diff/40001/src/arm/interface-descriptors-arm.cc File src/arm/interface-descriptors-arm.cc (right): https://codereview.chromium.org/2177273002/diff/40001/src/arm/interface-descriptors-arm.cc#newcode28 src/arm/interface-descriptors-arm.cc:28: const ...
4 years, 4 months ago (2016-07-27 11:11:39 UTC) #17
klaasb
https://codereview.chromium.org/2177273002/diff/40001/src/arm/interface-descriptors-arm.cc File src/arm/interface-descriptors-arm.cc (right): https://codereview.chromium.org/2177273002/diff/40001/src/arm/interface-descriptors-arm.cc#newcode28 src/arm/interface-descriptors-arm.cc:28: const Register FastNewFunctionContextDescriptor::SlotsRegister() { return r0; } On 2016/07/27 ...
4 years, 4 months ago (2016-07-27 17:06:31 UTC) #18
rmcilroy
LGTM once comments are addressed and Benedikt is happy. https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.cc#newcode4511 src/code-stubs.cc:4511: ...
4 years, 4 months ago (2016-07-28 15:04:28 UTC) #19
klaasb
https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.cc File src/code-stubs.cc (right): https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.cc#newcode4511 src/code-stubs.cc:4511: assembler->Int32Mul(length, assembler->Int32Constant(kPointerSize)), On 2016/07/28 15:04:27, rmcilroy wrote: > On ...
4 years, 4 months ago (2016-07-28 15:34:47 UTC) #20
Benedikt Meurer
Nice. Some final comments to address. https://codereview.chromium.org/2177273002/diff/80001/src/code-factory.cc File src/code-factory.cc (right): https://codereview.chromium.org/2177273002/diff/80001/src/code-factory.cc#newcode474 src/code-factory.cc:474: Callable CodeFactory::FastNewContext(Isolate* isolate) ...
4 years, 4 months ago (2016-07-29 03:29:16 UTC) #21
klaasb
Benedikt, please take a short look at the kMaximumSlots question. Earlier discussion here: https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.h#newcode1061 https://codereview.chromium.org/2177273002/diff/80001/src/code-factory.cc ...
4 years, 4 months ago (2016-07-29 09:51:36 UTC) #22
Benedikt Meurer
LGTM with question addressed. https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.h File src/code-stubs.h (right): https://codereview.chromium.org/2177273002/diff/40001/src/code-stubs.h#newcode1061 src/code-stubs.h:1061: static const int kMaximumSlots = ...
4 years, 4 months ago (2016-08-01 17:35:09 UTC) #23
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/2177273002/120001
4 years, 4 months ago (2016-08-01 18:31:10 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: v8_android_arm_compile_rel on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_android_arm_compile_rel/builds/21877) v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 4 months ago (2016-08-01 18:32:35 UTC) #28
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/2177273002/140001
4 years, 4 months ago (2016-08-01 19:11:44 UTC) #34
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 4 months ago (2016-08-01 19:26:55 UTC) #36
commit-bot: I haz the power
4 years, 4 months ago (2016-08-01 19:29:27 UTC) #38
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5bc243978396ab902f115e49aff2cf4bcb5d8a4c
Cr-Commit-Position: refs/heads/master@{#38219}

Powered by Google App Engine
This is Rietveld 408576698