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

Issue 1169103004: [deoptimizer] Basic support inlining based on SharedFunctionInfo. (Closed)

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

Description

[deoptimizer] Basic support inlining based on SharedFunctionInfo. Up until now we can only inline based on JSFunction, because of the way the deoptimization works. With this change we will be able to inline based on the SharedFunctionInfo and materialize the JSFunction from a literal or a stack slot when necessary. R=jarin@chromium.org Committed: https://crrev.com/cf21da7e485ac80b3071e477e5399a00ee2b365f Cr-Commit-Position: refs/heads/master@{#28906}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use iterator for TranslatedFrame access. #

Patch Set 3 : Fix Jaros comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -583 lines) Patch
M src/accessors.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +64 lines, -23 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 chunk +64 lines, -26 lines 0 comments Download
M src/compiler/code-generator.cc View 2 chunks +14 lines, -11 lines 0 comments Download
M src/compiler/js-inlining.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/js-inlining.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/deoptimizer.h View 1 2 8 chunks +22 lines, -17 lines 0 comments Download
M src/deoptimizer.cc View 1 2 20 chunks +95 lines, -74 lines 0 comments Download
M src/frames.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/frames.cc View 1 3 chunks +8 lines, -14 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +64 lines, -24 lines 0 comments Download
M src/mips/lithium-codegen-mips.cc View 1 chunk +64 lines, -23 lines 0 comments Download
M src/mips64/lithium-codegen-mips64.cc View 1 chunk +64 lines, -23 lines 0 comments Download
M src/objects.cc View 2 chunks +18 lines, -17 lines 0 comments Download
M src/runtime/runtime-function.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 2 chunks +63 lines, -22 lines 0 comments Download
M test/cctest/cctest.gyp View 1 chunk +0 lines, -1 line 0 comments Download
D test/cctest/compiler/test-codegen-deopt.cc View 1 chunk +0 lines, -300 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Benedikt Meurer
5 years, 6 months ago (2015-06-10 10:45:31 UTC) #1
Benedikt Meurer
Hey Jaro, This is the initial CL for inlining with SharedFunctionInfo. Please take a look. ...
5 years, 6 months ago (2015-06-10 10:46:04 UTC) #2
Jarin
Almost good, but I do not like the massive code duplication in the platform ports. ...
5 years, 6 months ago (2015-06-10 11:15:04 UTC) #3
Benedikt Meurer
Yeah I don't like the duplication either, but that was the minimal amount of time ...
5 years, 6 months ago (2015-06-10 11:19:51 UTC) #4
Jarin
lgtm
5 years, 6 months ago (2015-06-10 11:49:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1169103004/40001
5 years, 6 months ago (2015-06-10 11:51:17 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-10 11:52:41 UTC) #8
commit-bot: I haz the power
5 years, 6 months ago (2015-06-10 11:53:01 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cf21da7e485ac80b3071e477e5399a00ee2b365f
Cr-Commit-Position: refs/heads/master@{#28906}

Powered by Google App Engine
This is Rietveld 408576698