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

Issue 137003006: Make safe points in generated code invisible to the debugger (Closed)

Created:
6 years, 11 months ago by hausner
Modified:
6 years, 10 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Make safe points in generated code invisible to the debugger - remove some PC descriptors that are part of implicit, synthesized code, e.g. generated null checks in == methods, implicit constructors, implicitly generated code in user constructors, etc. - ignore single step callbacks on PC descriptors that are part of synthesized code. R=regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=31966

Patch Set 1 #

Patch Set 2 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -71 lines) Patch
M runtime/vm/debugger.cc View 6 chunks +12 lines, -7 lines 0 comments Download
M runtime/vm/debugger_api_impl_test.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 2 chunks +10 lines, -6 lines 0 comments Download
M runtime/vm/parser.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 13 chunks +50 lines, -36 lines 4 comments Download

Messages

Total messages: 4 (0 generated)
hausner
6 years, 11 months ago (2014-01-21 19:38:00 UTC) #1
regis
LGTM https://codereview.chromium.org/137003006/diff/100001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/137003006/diff/100001/runtime/vm/parser.cc#newcode1184 runtime/vm/parser.cc:1184: new ReturnNode(Scanner::kDummyTokenIndex, load_field); A comment indicating why it ...
6 years, 11 months ago (2014-01-21 20:11:40 UTC) #2
hausner
Committed patchset #2 manually as r31966 (presubmit successful).
6 years, 11 months ago (2014-01-21 21:49:50 UTC) #3
hausner
6 years, 11 months ago (2014-01-21 21:50:52 UTC) #4
Message was sent while issue was closed.
Thank you.

As discussed offline, I'll introduce an alias for kDummyTokenIndex in a separate
change since it will affect many files.

Powered by Google App Engine
This is Rietveld 408576698