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

Issue 492203002: Initial support for debugger frame state in Turbofan. (Closed)

Created:
6 years, 4 months ago by Jarin
Modified:
6 years, 4 months ago
Reviewers:
Benedikt Meurer, titzer
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Initial support for debugger frame state in Turbofan. Bunch of changes were necessary: - refactor attaching the frame states/lazy bailouts in AstGraphBuilder (essentialy reland of r23096), - attaching frame state to some JS nodes in a similar way to attaching context (this is quite ugly and we should take another look at this), - new bailout point for the debugger statement, - register allocation constraints for the frame states, - generating translations and deopt entries, attaching them to safepoints, - enabled one mjsunit test for debugger state that uses the generated frame state. BUG= R=bmeurer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=23270

Patch Set 1 #

Patch Set 2 : Relax a CHECK to DCHECK #

Total comments: 10

Patch Set 3 : Tweaks #

Patch Set 4 : Address review comments #

Patch Set 5 : Attempt to fix Win64 #

Patch Set 6 : Another attempt to fix Win64 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -330 lines) Patch
M src/ast.h View 1 chunk +7 lines, -1 line 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 3 chunks +6 lines, -12 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 2 3 4 chunks +17 lines, -10 lines 0 comments Download
M src/compiler/arm64/code-generator-arm64.cc View 3 chunks +4 lines, -12 lines 0 comments Download
M src/compiler/arm64/instruction-selector-arm64.cc View 5 chunks +15 lines, -8 lines 0 comments Download
M src/compiler/ast-graph-builder.h View 13 chunks +27 lines, -25 lines 0 comments Download
M src/compiler/ast-graph-builder.cc View 36 chunks +86 lines, -113 lines 0 comments Download
M src/compiler/code-generator.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/compiler/code-generator.cc View 1 2 3 chunks +31 lines, -1 line 0 comments Download
M src/compiler/common-operator.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/graph-builder.cc View 1 3 chunks +10 lines, -0 lines 0 comments Download
M src/compiler/graph-visualizer.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/ia32/code-generator-ia32.cc View 3 chunks +4 lines, -10 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 3 chunks +18 lines, -10 lines 0 comments Download
M src/compiler/instruction.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 4 chunks +104 lines, -62 lines 0 comments Download
M src/compiler/instruction-selector-impl.h View 1 2 3 1 chunk +18 lines, -11 lines 0 comments Download
M src/compiler/js-generic-lowering.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M src/compiler/linkage.h View 4 chunks +19 lines, -4 lines 0 comments Download
M src/compiler/linkage.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/compiler/linkage-impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/compiler/node.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/node.cc View 1 2 3 1 chunk +3 lines, -7 lines 1 comment Download
M src/compiler/node-properties.h View 2 chunks +5 lines, -0 lines 0 comments Download
M src/compiler/node-properties-inl.h View 4 chunks +19 lines, -1 line 0 comments Download
M src/compiler/operator-properties.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/compiler/operator-properties-inl.h View 4 chunks +42 lines, -3 lines 0 comments Download
M src/compiler/raw-machine-assembler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler/verifier.cc View 1 chunk +4 lines, -1 line 0 comments Download
M src/compiler/x64/code-generator-x64.cc View 3 chunks +5 lines, -10 lines 0 comments Download
M src/compiler/x64/instruction-selector-x64.cc View 1 2 3 5 chunks +21 lines, -12 lines 0 comments Download
M src/full-codegen.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M test/mjsunit/debug-evaluate-arguments.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/debug-receiver.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Jarin
Could you take a look, please?
6 years, 4 months ago (2014-08-21 07:45:28 UTC) #1
Benedikt Meurer
I'm really worried about the lack of test coverage for the ast graph builder. That'll ...
6 years, 4 months ago (2014-08-21 08:19:29 UTC) #2
Jarin
Addressed most of the comments, fixed some complaints of the Win64 compiler, enabled one more ...
6 years, 4 months ago (2014-08-21 09:54:42 UTC) #3
Benedikt Meurer
Ok, can we do anything about the nonexistent test coverage?
6 years, 4 months ago (2014-08-21 09:55:29 UTC) #4
Benedikt Meurer
lgtm
6 years, 4 months ago (2014-08-21 11:29:43 UTC) #5
Jarin
Committed patchset #6 manually as 23270 (presubmit successful).
6 years, 4 months ago (2014-08-21 11:57:11 UTC) #6
titzer
https://codereview.chromium.org/492203002/diff/100001/src/compiler/node.cc File src/compiler/node.cc (right): https://codereview.chromium.org/492203002/diff/100001/src/compiler/node.cc#newcode13 src/compiler/node.cc:13: void Node::CollectProjections(NodeVector* projections) { Why did you change this? ...
6 years, 4 months ago (2014-08-25 11:00:06 UTC) #7
Jarin
6 years, 4 months ago (2014-08-25 12:38:25 UTC) #8
Message was sent while issue was closed.
On 2014/08/25 11:00:06, titzer wrote:
> https://codereview.chromium.org/492203002/diff/100001/src/compiler/node.cc
> File src/compiler/node.cc (right):
> 
>
https://codereview.chromium.org/492203002/diff/100001/src/compiler/node.cc#ne...
> src/compiler/node.cc:13: void Node::CollectProjections(NodeVector*
projections)
> {
> Why did you change this? It now relies on the use order of the projections.

Embarrassing oversight on my part. Fix:
https://codereview.chromium.org/500023004.

Powered by Google App Engine
This is Rietveld 408576698