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

Issue 2903993002: Remember deopt-id -> context-level mappings in var descriptors. (Closed)

Created:
3 years, 7 months ago by rmacnak
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Remember deopt-id -> context-level mappings in var descriptors. - Add deopt ids to DebugStepInstr and StrictCompareInstr since the debugger can stop there. - Add missing pc descriptor in DBC's StringInterpolateInstr. Re-enable async_debugger, which had been crashing flakily from context mismatches. R=vegorov@google.com Committed: https://github.com/dart-lang/sdk/commit/2109cc53bf58eed6c71c7fde4af5f4a334c8d3f7

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : range encoding #

Patch Set 4 : kernel #

Patch Set 5 : kernel #

Patch Set 6 : . #

Total comments: 5

Patch Set 7 : . #

Total comments: 2

Patch Set 8 : update descriptor tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -269 lines) Patch
M runtime/vm/compiler.cc View 1 2 3 4 3 chunks +29 lines, -8 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 4 5 6 7 5 chunks +46 lines, -22 lines 0 comments Download
M runtime/vm/flag_list.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 11 chunks +31 lines, -13 lines 0 comments Download
M runtime/vm/flow_graph_builder_test.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 4 chunks +9 lines, -14 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 4 chunks +9 lines, -14 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 4 chunks +9 lines, -14 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 4 chunks +9 lines, -14 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_dbc.cc View 1 2 3 4 5 3 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 2 chunks +7 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/kernel_to_il.h View 1 2 3 4 5 6 2 chunks +10 lines, -2 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 2 3 4 8 chunks +15 lines, -7 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download
M runtime/vm/parser_test.cc View 1 2 3 4 5 6 7 6 chunks +104 lines, -96 lines 0 comments Download
M runtime/vm/scopes.h View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/scopes.cc View 1 2 3 4 5 6 2 chunks +35 lines, -11 lines 0 comments Download
M tests/standalone/standalone.status View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
rmacnak
Builds on https://chromiumcodereview.appspot.com/2900963008/
3 years, 7 months ago (2017-05-25 01:16:48 UTC) #1
rmacnak
This is now working, PTAL.
3 years, 6 months ago (2017-05-30 20:01:02 UTC) #5
Vyacheslav Egorov (Google)
I think overall it looks good https://codereview.chromium.org/2903993002/diff/100001/runtime/vm/flow_graph_builder.h File runtime/vm/flow_graph_builder.h (right): https://codereview.chromium.org/2903993002/diff/100001/runtime/vm/flow_graph_builder.h#newcode199 runtime/vm/flow_graph_builder.h:199: ZoneGrowableArray<intptr_t>* context_level_array_; it ...
3 years, 6 months ago (2017-05-31 14:29:51 UTC) #6
rmacnak
https://codereview.chromium.org/2903993002/diff/100001/runtime/vm/flow_graph_builder.h File runtime/vm/flow_graph_builder.h (right): https://codereview.chromium.org/2903993002/diff/100001/runtime/vm/flow_graph_builder.h#newcode199 runtime/vm/flow_graph_builder.h:199: ZoneGrowableArray<intptr_t>* context_level_array_; On 2017/05/31 14:29:51, Vyacheslav Egorov (Google) wrote: ...
3 years, 6 months ago (2017-05-31 18:03:17 UTC) #7
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/2903993002/diff/100001/runtime/vm/scopes.cc File runtime/vm/scopes.cc (right): https://codereview.chromium.org/2903993002/diff/100001/runtime/vm/scopes.cc#newcode294 runtime/vm/scopes.cc:294: for (intptr_t start = 0; start < context_level_array->length();) ...
3 years, 6 months ago (2017-06-01 12:32:41 UTC) #10
rmacnak
thanks! https://codereview.chromium.org/2903993002/diff/120001/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/2903993002/diff/120001/runtime/vm/debugger.cc#newcode704 runtime/vm/debugger.cc:704: function().ToQualifiedCString()); On 2017/06/01 12:32:41, Vyacheslav Egorov (Google) wrote: ...
3 years, 6 months ago (2017-06-01 19:26:10 UTC) #11
rmacnak
3 years, 6 months ago (2017-06-01 19:33:39 UTC) #13
Message was sent while issue was closed.
Committed patchset #8 (id:140001) manually as
2109cc53bf58eed6c71c7fde4af5f4a334c8d3f7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698