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

Issue 573703002: Add handling for deopt and argument adaptor frames. (Closed)

Created:
6 years, 3 months ago by sigurds
Modified:
6 years, 3 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Add handling for argument adaptor frames to inlining. - Lazy deopt from inlined calls - Lazy deopt from inlined calls with parameter mismatch R=jarin@chromium.org, mstarzinger@chromium.org, mstarzinger@chromium Committed: https://code.google.com/p/v8/source/detail?r=24008

Patch Set 1 #

Patch Set 2 : Minor improvements. #

Total comments: 11

Patch Set 3 : Adding Jarin's comments. #

Total comments: 8

Patch Set 4 : mstarzingers's comments + C++11 removal. #

Patch Set 5 : Unique -> MaybeHandle + constness fix. #

Patch Set 6 : Rebase #

Patch Set 7 : Fix size_t madness. #

Patch Set 8 : More size_t madness. #

Patch Set 9 : Rebase #

Patch Set 10 : More size_t fixes. #

Total comments: 10

Patch Set 11 : mstarzinger's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -156 lines) Patch
M src/compiler/ast-graph-builder.cc View 1 2 3 4 5 2 chunks +5 lines, -7 lines 0 comments Download
M src/compiler/code-generator.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler/code-generator.cc View 1 2 3 4 5 6 7 8 9 4 chunks +32 lines, -23 lines 0 comments Download
M src/compiler/common-operator.h View 1 2 3 4 4 chunks +25 lines, -9 lines 0 comments Download
M src/compiler/common-operator.cc View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M src/compiler/instruction.h View 1 2 3 4 5 6 1 chunk +50 lines, -21 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/compiler/instruction-selector-unittest.cc View 5 chunks +17 lines, -17 lines 0 comments Download
M src/compiler/js-inlining.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M src/compiler/js-inlining.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +110 lines, -10 lines 0 comments Download
M src/compiler/linkage.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/node.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/node-properties.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/node-properties-inl.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/frames.cc View 3 chunks +9 lines, -9 lines 0 comments Download
M test/cctest/cctest.status View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -4 lines 0 comments Download
M test/cctest/compiler/test-codegen-deopt.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -6 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/compiler/test-run-inlining.cc View 1 2 11 chunks +133 lines, -39 lines 0 comments Download

Messages

Total messages: 15 (1 generated)
sigurds
PTAL.
6 years, 3 months ago (2014-09-15 10:57:48 UTC) #2
Jarin
Looks almost good from my side, but I am sure mstarzinger@ will have bunch of ...
6 years, 3 months ago (2014-09-15 13:37:52 UTC) #3
sigurds
Thanks for the first round of comments! mstarzinger, could you please take a look at ...
6 years, 3 months ago (2014-09-16 08:39:03 UTC) #4
Michael Starzinger
Just a few remarks. Didn't do a thorough review of the details. https://codereview.chromium.org/573703002/diff/40001/src/compiler/common-operator.h File src/compiler/common-operator.h ...
6 years, 3 months ago (2014-09-16 14:12:56 UTC) #5
sigurds
Thanks for the second round of comments! https://codereview.chromium.org/573703002/diff/40001/src/compiler/common-operator.h File src/compiler/common-operator.h (right): https://codereview.chromium.org/573703002/diff/40001/src/compiler/common-operator.h#newcode35 src/compiler/common-operator.h:35: enum FrameStateType ...
6 years, 3 months ago (2014-09-17 10:02:47 UTC) #6
sigurds
6 years, 3 months ago (2014-09-17 10:11:57 UTC) #7
sigurds
6 years, 3 months ago (2014-09-17 11:10:57 UTC) #8
Jarin
lgtm
6 years, 3 months ago (2014-09-17 11:23:19 UTC) #9
sigurds
6 years, 3 months ago (2014-09-17 12:58:29 UTC) #10
Michael Starzinger
Almost there ... https://codereview.chromium.org/573703002/diff/180001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/573703002/diff/180001/src/compiler/js-inlining.cc#newcode340 src/compiler/js-inlining.cc:340: static void AddClosureToFrameState(JSGraph* jsgraph, Node* frame_state, ...
6 years, 3 months ago (2014-09-17 13:31:44 UTC) #11
sigurds
Thanks for the comments! https://codereview.chromium.org/573703002/diff/180001/src/compiler/js-inlining.cc File src/compiler/js-inlining.cc (right): https://codereview.chromium.org/573703002/diff/180001/src/compiler/js-inlining.cc#newcode340 src/compiler/js-inlining.cc:340: static void AddClosureToFrameState(JSGraph* jsgraph, Node* ...
6 years, 3 months ago (2014-09-17 14:05:13 UTC) #12
Michael Starzinger
LGTM (I skipped looking at the code-generator and the instruction-selector).
6 years, 3 months ago (2014-09-17 14:11:55 UTC) #13
sigurds
6 years, 3 months ago (2014-09-17 14:38:54 UTC) #14
sigurds
6 years, 3 months ago (2014-09-17 14:41:53 UTC) #15
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as 24008 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698