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

Issue 575443002: Refactor generating lazy deoptimization descriptors. (Closed)

Created:
6 years, 3 months ago by Florian Schneider
Modified:
6 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Refactor generating lazy deoptimization descriptors. Instead of having special handling for closure calls, pass the number of input operands down so that the correct lazy deoptimization environment is generated at calls. There is no functional change here - this is to simplify having calls with pushed arguments and input operands (like closure calls). Runtime calls still do not have a correct lazy deoptimization environment the environment should only be used for creating stack traces from optimized code. Fix a bug with --trace-deoptimization-verbose printing: We cannot call ToCString on objects when the slots have not been filled in yet. (e.g. Closures) R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=40306

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -273 lines) Patch
M runtime/tests/vm/dart/inline_stack_frame_test.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/deferred_objects.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 3 chunks +12 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 2 chunks +28 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 4 chunks +5 lines, -35 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 4 chunks +5 lines, -32 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 2 4 chunks +5 lines, -32 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 4 chunks +5 lines, -36 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 4 chunks +5 lines, -32 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 chunk +5 lines, -16 lines 0 comments Download
M runtime/vm/intermediate_language_arm64.cc View 1 chunk +5 lines, -16 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 chunk +5 lines, -16 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 chunk +5 lines, -16 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 chunk +5 lines, -16 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Florian Schneider
6 years, 3 months ago (2014-09-15 14:20:52 UTC) #2
Vyacheslav Egorov (Google)
LGTM https://codereview.chromium.org/575443002/diff/1/runtime/vm/deferred_objects.cc File runtime/vm/deferred_objects.cc (right): https://codereview.chromium.org/575443002/diff/1/runtime/vm/deferred_objects.cc#newcode95 runtime/vm/deferred_objects.cc:95: cls.ToCString()); indicate that we are printing only class ...
6 years, 3 months ago (2014-09-15 14:35:56 UTC) #3
Florian Schneider
https://codereview.chromium.org/575443002/diff/1/runtime/vm/deferred_objects.cc File runtime/vm/deferred_objects.cc (right): https://codereview.chromium.org/575443002/diff/1/runtime/vm/deferred_objects.cc#newcode95 runtime/vm/deferred_objects.cc:95: cls.ToCString()); On 2014/09/15 14:35:56, Vyacheslav Egorov (Google) wrote: > ...
6 years, 3 months ago (2014-09-15 15:46:31 UTC) #4
Florian Schneider
6 years, 3 months ago (2014-09-16 10:32:03 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as r40306 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698