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

Issue 1489203004: Precompilation: Don't drop an uncompiled function if it has a compiled implicit closure function. (Closed)

Created:
5 years ago by rmacnak
Modified:
5 years ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Precompilation: Don't drop an uncompiled function if it has a compiled implicit closure function. This ensures the implicit closure function is enumerated in later steps. Fixes crash in co19 test reducible as import 'dart:math'; main() { print(const [1, 2.0, "3"].fold(0, max)); } Also enumerate invocation dispatchers to avoid a similar situation there, though I cannot find a crashing example involving them. R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/d94b68cb41d5b6cb9a4c536c19911bac4f1f5b9a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -2 lines) Patch
M runtime/vm/object.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/precompiler.cc View 6 chunks +29 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
rmacnak
5 years ago (2015-12-03 01:53:38 UTC) #2
Florian Schneider
lgtm
5 years ago (2015-12-03 11:52:23 UTC) #3
rmacnak
5 years ago (2015-12-03 19:03:27 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d94b68cb41d5b6cb9a4c536c19911bac4f1f5b9a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698