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

Issue 18469003: Guard against entering a noSuchMethod dispatcher twice into ICData. (Closed)

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

Description

Guard against entering a noSuchMethod dispatcher twice into ICData. This may occur in optimized code when called via the megamorphic cache miss handler. For now, I fixed it by checking if there is already an entry in the IC data. I'll discuss with Kevin how to handle the extraordinary cases like noSuchMethod and implicit closure invocation in the megamorphic cache. BUG=https://code.google.com/p/dart/issues/detail?id=11786 R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=24953

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M runtime/vm/code_generator.cc View 2 chunks +15 lines, -3 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Florian Schneider
7 years, 5 months ago (2013-07-12 09:35:40 UTC) #1
srdjan
lgtm https://codereview.chromium.org/18469003/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/18469003/diff/1/runtime/vm/code_generator.cc#newcode1258 runtime/vm/code_generator.cc:1258: if (ic_data.num_args_tested() == 1) { Add a TODO ...
7 years, 5 months ago (2013-07-12 14:45:11 UTC) #2
Florian Schneider
https://codereview.chromium.org/18469003/diff/1/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://codereview.chromium.org/18469003/diff/1/runtime/vm/code_generator.cc#newcode1258 runtime/vm/code_generator.cc:1258: if (ic_data.num_args_tested() == 1) { On 2013/07/12 14:45:12, srdjan ...
7 years, 5 months ago (2013-07-12 15:43:59 UTC) #3
Florian Schneider
7 years, 5 months ago (2013-07-12 15:50:28 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r24953 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698