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

Issue 23123012: Fix crash in optimized code caused by missing IC data. (Closed)

Created:
7 years, 4 months ago by Florian Schneider
Modified:
7 years, 4 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix crash in optimized code caused by missing IC data. When inling intrinsified methods like String.isEmpty that are not native, we have to emit the full unoptimized code so that those method can be correctly optimized and inlined later. Also, remove an invalid assertion in the type propagator: ToNullableCid may be called on values from the callee graph in the inliner where type propagation has not yet been performed. BUG=https://code.google.com/p/dart/issues/detail?id=12691 TEST=tests/language/optimized_isempty_test.dart R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=26629

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -6 lines) Patch
M runtime/vm/flow_graph_type_propagator.cc View 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 chunk +1 line, -1 line 1 comment Download
M runtime/vm/intrinsifier_ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 chunk +1 line, -1 line 0 comments Download
A tests/language/optimized_isempty_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
7 years, 4 months ago (2013-08-23 11:06:42 UTC) #1
srdjan
LGTM, although it seems a little brittle. Every time we inline an intrinsified method we ...
7 years, 4 months ago (2013-08-23 14:54:04 UTC) #2
Florian Schneider
On 2013/08/23 14:54:04, srdjan wrote: > LGTM, although it seems a little brittle. Every time ...
7 years, 4 months ago (2013-08-26 09:01:34 UTC) #3
Florian Schneider
7 years, 4 months ago (2013-08-26 09:46:43 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r26629 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698