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

Issue 2372113004: [turbofan] JSGenericLowering mostly uses builtins instead of code stubs now (Closed)

Created:
4 years, 2 months ago by Tobias Tebbi
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] JSGenericLowering mostly uses builtins instead of code stubs now BUG=v8:5431 Committed: https://crrev.com/0c168a90ffc34e3e4defee0c1cc39fe522dae2c0 Cr-Commit-Position: refs/heads/master@{#40051}

Patch Set 1 #

Patch Set 2 : moved some easy cases #

Patch Set 3 : removed TFSC macro #

Total comments: 2

Patch Set 4 : merged with Camillo's refactorings (https://codereview.chromium.org/2383473003) #

Patch Set 5 : merged with Camillo's refactorings (https://codereview.chromium.org/2383473003) #

Patch Set 6 : merged Jakob's commit(https://codereview.chromium.org/2395453002) #

Patch Set 7 : fixed bug #

Patch Set 8 : fixed another bug: switched arguments in Interpreter::DoTestIn #

Total comments: 4

Patch Set 9 : addressed comments #

Total comments: 1

Patch Set 10 : Merge branch 'master' of https://chromium.googlesource.com/v8/v8 into builtins #

Total comments: 2

Patch Set 11 : Ross' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3172 lines, -3546 lines) Patch
M src/builtins/arm/builtins-arm.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/builtins.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +28 lines, -0 lines 0 comments Download
M src/builtins/builtins-conversion.cc View 1 2 3 4 5 1 chunk +163 lines, -0 lines 0 comments Download
M src/builtins/builtins-number.cc View 1 2 3 4 5 2 chunks +1232 lines, -1 line 0 comments Download
M src/builtins/builtins-object.cc View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
M src/builtins/builtins-string.cc View 1 2 3 4 5 6 7 8 6 chunks +37 lines, -35 lines 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/ppc/builtins-ppc.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/s390/builtins-s390.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/builtins/x87/builtins-x87.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/code-factory.cc View 1 2 6 chunks +37 lines, -159 lines 0 comments Download
M src/code-stub-assembler.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +30 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1344 lines, -0 lines 0 comments Download
M src/code-stubs.h View 1 2 3 4 5 6 7 8 9 13 chunks +0 lines, -237 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 8 9 9 chunks +140 lines, -2980 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -4 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 4 chunks +6 lines, -10 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 2 4 chunks +5 lines, -9 lines 0 comments Download
M src/interpreter/interpreter.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -10 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +63 lines, -26 lines 0 comments Download

Messages

Total messages: 38 (25 generated)
Tobias Tebbi
This is just a draft, I just want to know if my approach is OK.
4 years, 2 months ago (2016-09-28 09:22:30 UTC) #3
Benedikt Meurer
LGTM from my side. Adding Ross for interpreter and Igor for CodeStubAssembler. https://codereview.chromium.org/2372113004/diff/80001/src/builtins/builtins.cc File src/builtins/builtins.cc ...
4 years, 2 months ago (2016-10-05 05:41:30 UTC) #8
Tobias Tebbi
There is still a bug in the CL: it crashes when generating the snapshot. I ...
4 years, 2 months ago (2016-10-05 06:04:29 UTC) #9
Tobias Tebbi
It works now, but is still incomplete: there are still Stubs being loaded in JSGenericLowering. ...
4 years, 2 months ago (2016-10-05 14:36:36 UTC) #13
Benedikt Meurer
Yes, I think this is landable as-is and make sense. Ping Igor / Ross.
4 years, 2 months ago (2016-10-05 16:53:14 UTC) #18
Igor Sheludko
On 2016/10/05 16:53:14, Benedikt Meurer wrote: > Yes, I think this is landable as-is and ...
4 years, 2 months ago (2016-10-05 17:05:06 UTC) #19
rmcilroy
https://codereview.chromium.org/2372113004/diff/180001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2372113004/diff/180001/src/interpreter/interpreter.cc#newcode1711 src/interpreter/interpreter.cc:1711: context); I'm not keen on this approach of building ...
4 years, 2 months ago (2016-10-05 17:20:52 UTC) #20
Igor Sheludko
I'm sorry, but I would really prefer such a CL to be cut into 5-7 ...
4 years, 2 months ago (2016-10-06 08:51:01 UTC) #21
Tobias Tebbi
I addressed the comments, thank you! https://codereview.chromium.org/2372113004/diff/200001/src/code-stub-assembler.h File src/code-stub-assembler.h (right): https://codereview.chromium.org/2372113004/diff/200001/src/code-stub-assembler.h#newcode853 src/code-stub-assembler.h:853: Runtime::FunctionId fallback_runtime_function_id = ...
4 years, 2 months ago (2016-10-06 11:01:17 UTC) #22
rmcilroy
interpreter/ LGTM with two final comments. Thanks. https://codereview.chromium.org/2372113004/diff/220001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2372113004/diff/220001/src/interpreter/interpreter.cc#newcode907 src/interpreter/interpreter.cc:907: // TODO(mythria): ...
4 years, 2 months ago (2016-10-06 15:00:13 UTC) #31
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/2372113004/240001
4 years, 2 months ago (2016-10-06 15:15:53 UTC) #34
commit-bot: I haz the power
Committed patchset #11 (id:240001)
4 years, 2 months ago (2016-10-06 15:46:16 UTC) #36
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 15:46:36 UTC) #38
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/0c168a90ffc34e3e4defee0c1cc39fe522dae2c0
Cr-Commit-Position: refs/heads/master@{#40051}

Powered by Google App Engine
This is Rietveld 408576698