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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart

Issue 12334070: Support runtime check of function types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Minor fix Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 609b2bee281ca47111781b52e0efd4a7b4fff156..358ecab681f0e8445afc1f0b4eb7f359e2be1d22 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -221,7 +221,8 @@ class DartBackend extends Backend {
stripAsserts = strips.indexOf('asserts') != -1,
super(compiler);
- bool needsRti(ClassElement cls) => false;
+ bool classNeedsRti(ClassElement cls) => false;
+ bool methodNeedsRti(FunctionElement function) => false;
void enqueueHelpers(ResolutionEnqueuer world, TreeElements elements) {
// Right now resolver doesn't always resolve interfaces needed

Powered by Google App Engine
This is Rietveld 408576698