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

Issue 254723003: Remember all deopt reasons in ic_data, not just the last one. (Closed)

Created:
6 years, 8 months ago by regis
Modified:
6 years, 8 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Remember all deopt reasons in ic_data, not just the last one. Remember if a JS warning was issued in ic_data. Save a word in ic_data on 64-bit platforms. R=iposva@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=35457

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 12

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1020 lines, -914 lines) Patch
M runtime/vm/code_descriptors.h View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M runtime/vm/code_generator.h View 1 2 3 1 chunk +1 line, -39 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 6 chunks +10 lines, -10 lines 0 comments Download
M runtime/vm/code_patcher_arm64_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_arm_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_ia32.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/code_patcher_ia32_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_mips_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/code_patcher_x64.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/code_patcher_x64_test.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/deopt_instructions.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 2 3 4 chunks +8 lines, -7 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 5 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 6 chunks +6 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 21 chunks +30 lines, -30 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 23 chunks +33 lines, -29 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 23 chunks +33 lines, -30 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 1 2 3 15 chunks +24 lines, -20 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 16 chunks +23 lines, -22 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 3 chunks +215 lines, -158 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 chunks +526 lines, -477 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 1 chunk +5 lines, -6 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 3 3 chunks +11 lines, -7 lines 0 comments Download
M runtime/vm/stub_code_arm64.cc View 1 2 3 3 chunks +13 lines, -7 lines 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 3 3 chunks +11 lines, -7 lines 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 2 3 3 chunks +11 lines, -7 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 3 3 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
regis
6 years, 8 months ago (2014-04-25 02:12:11 UTC) #1
srdjan
LGTM https://codereview.chromium.org/254723003/diff/40001/runtime/vm/code_descriptors.h File runtime/vm/code_descriptors.h (right): https://codereview.chromium.org/254723003/diff/40001/runtime/vm/code_descriptors.h#newcode28 runtime/vm/code_descriptors.h:28: ASSERT(static_cast<uword>(data) < kDeoptNumReasons); Remove static_cast https://codereview.chromium.org/254723003/diff/40001/runtime/vm/code_generator.h File runtime/vm/code_generator.h ...
6 years, 8 months ago (2014-04-25 20:54:15 UTC) #2
Ivan Posva
LGTM -Ivan https://codereview.chromium.org/254723003/diff/20001/runtime/vm/code_descriptors.h File runtime/vm/code_descriptors.h (right): https://codereview.chromium.org/254723003/diff/20001/runtime/vm/code_descriptors.h#newcode28 runtime/vm/code_descriptors.h:28: ASSERT(static_cast<uword>(data) < kDeoptNumReasons); Can we change this ...
6 years, 8 months ago (2014-04-25 20:59:22 UTC) #3
regis
Thanks! https://codereview.chromium.org/254723003/diff/20001/runtime/vm/code_descriptors.h File runtime/vm/code_descriptors.h (right): https://codereview.chromium.org/254723003/diff/20001/runtime/vm/code_descriptors.h#newcode28 runtime/vm/code_descriptors.h:28: ASSERT(static_cast<uword>(data) < kDeoptNumReasons); On 2014/04/25 20:59:22, Ivan Posva ...
6 years, 8 months ago (2014-04-25 23:38:27 UTC) #4
regis
6 years, 8 months ago (2014-04-25 23:45:36 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r35457 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698