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

Issue 414163003: Fix issue 20190: Mark Uint32/Int32 typed data load to produce a Mint always (Closed)

Created:
6 years, 5 months ago by srdjan
Modified:
6 years, 4 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Cutch
Visibility:
Public.

Description

Fix issue 20190: Mark Uint32/Int32 typed data load to produce a Mint always on 32-bit architectures, but also to have a deopt_id associates in case we may be able to optimize it to allow Smi as result. No deopt-id needs to be provided/allocated on 64-bit architectures. R=vegorov@google.com Committed: https://code.google.com/p/dart/source/detail?r=38635

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -35 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 6 2 chunks +4 lines, -6 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language_mips.cc View 2 chunks +3 lines, -8 lines 0 comments Download
M tests/standalone/standalone.status View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
srdjan
6 years, 5 months ago (2014-07-25 00:30:02 UTC) #1
Vyacheslav Egorov (Google)
https://codereview.chromium.org/414163003/diff/20001/runtime/vm/flow_graph_optimizer.cc File runtime/vm/flow_graph_optimizer.cc (right): https://codereview.chromium.org/414163003/diff/20001/runtime/vm/flow_graph_optimizer.cc#newcode5528 runtime/vm/flow_graph_optimizer.cc:5528: current->deopt_id_ = last->GetDeoptId(); Question: what if instruction can't deoptimize ...
6 years, 5 months ago (2014-07-25 08:38:44 UTC) #2
Vyacheslav Egorov (Google)
I looked at the crash. I suggest we fix LoadIndexedInstr instead to not depend on ...
6 years, 5 months ago (2014-07-25 10:15:19 UTC) #3
srdjan
PTAL
6 years, 5 months ago (2014-07-25 23:04:54 UTC) #4
Vyacheslav Egorov (Google)
lgtm https://codereview.chromium.org/414163003/diff/100001/runtime/vm/intermediate_language_x64.cc File runtime/vm/intermediate_language_x64.cc (right): https://codereview.chromium.org/414163003/diff/100001/runtime/vm/intermediate_language_x64.cc#newcode929 runtime/vm/intermediate_language_x64.cc:929: bool LoadIndexedInstr::Typed32BitIsSmi() const { return true; } Remove ...
6 years, 5 months ago (2014-07-26 07:33:49 UTC) #5
srdjan
https://codereview.chromium.org/414163003/diff/100001/runtime/vm/intermediate_language_x64.cc File runtime/vm/intermediate_language_x64.cc (right): https://codereview.chromium.org/414163003/diff/100001/runtime/vm/intermediate_language_x64.cc#newcode929 runtime/vm/intermediate_language_x64.cc:929: bool LoadIndexedInstr::Typed32BitIsSmi() const { return true; } On 2014/07/26 ...
6 years, 4 months ago (2014-07-28 16:50:49 UTC) #6
srdjan
6 years, 4 months ago (2014-07-28 18:12:02 UTC) #7
Message was sent while issue was closed.
Committed patchset #8 manually as r38635 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698