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

Issue 12457034: Ensure that all goto instructions have deoptimization target. (Closed)

Created:
7 years, 9 months ago by Vyacheslav Egorov (Google)
Modified:
7 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Ensure that all goto instructions have deoptimization target. R=kmillikin@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=21351

Patch Set 1 #

Patch Set 2 : detach uses at the inlined return statement #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Address Florian's comments #

Total comments: 2

Patch Set 5 : Delete UNREACHABLE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+351 lines, -243 lines) Patch
M runtime/vm/deopt_instructions.h View 1 2 3 chunks +7 lines, -13 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 2 3 8 chunks +34 lines, -96 lines 0 comments Download
M runtime/vm/flow_graph.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph.cc View 1 2 3 chunks +30 lines, -17 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 2 1 chunk +8 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 4 chunks +7 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 2 chunks +0 lines, -10 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 chunks +6 lines, -18 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 2 chunks +13 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 5 chunks +17 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 5 chunks +17 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 12 chunks +55 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 15 chunks +58 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 7 chunks +44 lines, -10 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 2 chunks +19 lines, -1 line 0 comments Download
M runtime/vm/object.h View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 chunks +13 lines, -17 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Vyacheslav Egorov (Google)
7 years, 9 months ago (2013-03-26 13:52:27 UTC) #1
Vyacheslav Egorov (Google)
This is ready for another look. It proved to be monster change. The purpose of ...
7 years, 8 months ago (2013-04-05 16:07:43 UTC) #2
Vyacheslav Egorov (Google)
I also had to change how we encode kDeoptBefore/kDeoptAfter difference. Now deopt_id itself corresponds to ...
7 years, 8 months ago (2013-04-05 16:08:50 UTC) #3
Florian Schneider
https://codereview.chromium.org/12457034/diff/5001/runtime/vm/deopt_instructions.cc File runtime/vm/deopt_instructions.cc (right): https://codereview.chromium.org/12457034/diff/5001/runtime/vm/deopt_instructions.cc#newcode665 runtime/vm/deopt_instructions.cc:665: static_cast<DeoptRetAddressInstr*>(instr); check that deopt_id is a lazy-deopt: ASSERT((ret_address_instr->deopt_id() & ...
7 years, 8 months ago (2013-04-12 09:23:55 UTC) #4
Florian Schneider
Runtime calls need a deopt_id in case of an exception. On 2013/04/12 09:23:55, Florian Schneider ...
7 years, 8 months ago (2013-04-12 10:13:22 UTC) #5
Vyacheslav Egorov (Google)
Thanks Florian. I don't think we ever throw from inside the instanceof runtime function but ...
7 years, 8 months ago (2013-04-12 10:57:06 UTC) #6
Florian Schneider
LGTM. https://codereview.chromium.org/12457034/diff/14001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/12457034/diff/14001/runtime/vm/code_generator.cc#newcode579 runtime/vm/code_generator.cc:579: UNREACHABLE(); Accidental edit?
7 years, 8 months ago (2013-04-12 11:01:52 UTC) #7
Vyacheslav Egorov (Google)
Thanks. Landing. https://codereview.chromium.org/12457034/diff/14001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/12457034/diff/14001/runtime/vm/code_generator.cc#newcode579 runtime/vm/code_generator.cc:579: UNREACHABLE(); On 2013/04/12 11:01:52, Florian Schneider wrote: ...
7 years, 8 months ago (2013-04-12 11:02:48 UTC) #8
Vyacheslav Egorov (Google)
7 years, 8 months ago (2013-04-12 11:20:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r21351 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698