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

Issue 1317383002: Crankshaft is now able to compile top level code even if there is a ScriptContext. (Closed)

Created:
5 years, 3 months ago by Igor Sheludko
Modified:
5 years, 3 months ago
Reviewers:
Jarin
CC:
Benedikt Meurer, v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Crankshaft is now able to compile top level code even if there is a ScriptContext. This CL introduces HPrologue instruction which does the context allocation work and supports deoptimization. Committed: https://crrev.com/29ebcc32052d486cbc1933ac4738aa5cb68aa851 Cr-Commit-Position: refs/heads/master@{#30496}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Fixes #

Patch Set 3 : Better impl #

Patch Set 4 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+344 lines, -138 lines) Patch
M src/arm/lithium-arm.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 3 chunks +19 lines, -13 lines 0 comments Download
M src/arm64/lithium-arm64.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 2 3 3 chunks +18 lines, -14 lines 0 comments Download
M src/bootstrapper.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M src/compiler/ast-graph-builder.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/contexts.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M src/contexts.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/full-codegen/arm/full-codegen-arm.cc View 1 2 3 7 chunks +12 lines, -6 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 2 3 4 chunks +8 lines, -1 line 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 2 3 6 chunks +12 lines, -5 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 2 3 7 chunks +13 lines, -5 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/hydrogen.h View 1 2 3 2 chunks +29 lines, -6 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 5 chunks +42 lines, -23 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 3 chunks +19 lines, -13 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 2 3 3 chunks +19 lines, -13 lines 0 comments Download
M src/mips/lithium-mips.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/mips/lithium-mips.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 1 2 3 3 chunks +19 lines, -13 lines 0 comments Download
M src/mips64/lithium-mips64.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/mips64/lithium-mips64.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download
M src/utils.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 3 chunks +19 lines, -11 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
Igor Sheludko
PTAL. This CL has some issues on arm ports which don't look related. I'm investigating ...
5 years, 3 months ago (2015-08-31 08:05:32 UTC) #5
Jarin
lgtm with some non-blocking questions. https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc File src/full-codegen/arm/full-codegen-arm.cc (right): https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc#newcode247 src/full-codegen/arm/full-codegen-arm.cc:247: function_in_register = true; Why ...
5 years, 3 months ago (2015-08-31 09:54:53 UTC) #6
Igor Sheludko
Thanks a lot! Meet the working version. https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc File src/full-codegen/arm/full-codegen-arm.cc (right): https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc#newcode247 src/full-codegen/arm/full-codegen-arm.cc:247: function_in_register = ...
5 years, 3 months ago (2015-08-31 11:07:25 UTC) #8
Igor Sheludko
I finished the mips ports and simplified the full-codegen changes.
5 years, 3 months ago (2015-08-31 15:59:04 UTC) #10
Jarin
lgtm.
5 years, 3 months ago (2015-09-01 03:57:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1317383002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1317383002/150001
5 years, 3 months ago (2015-09-01 07:04:57 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:150001)
5 years, 3 months ago (2015-09-01 07:06:57 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 07:07:17 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/29ebcc32052d486cbc1933ac4738aa5cb68aa851
Cr-Commit-Position: refs/heads/master@{#30496}

Powered by Google App Engine
This is Rietveld 408576698