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

Unified Diff: sdk/lib/_internal/compiler/implementation/compile_time_constants.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/compile_time_constants.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
index 8fa9e9890655a75d5c5d3943157597d31a3c2130..fba2e9421e9bb540bedf4bb05d410c6fc89badfc 100644
--- a/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
+++ b/sdk/lib/_internal/compiler/implementation/compile_time_constants.dart
@@ -63,7 +63,7 @@ class ConstantHandler extends CompilerTask {
compiler.enqueuer.codegen.registerInstantiatedType(type, elements);
if (type is InterfaceType &&
!type.isRaw &&
- compiler.backend.needsRti(type.element)) {
+ compiler.backend.classNeedsRti(type.element)) {
registerSetRuntimeTypeInfoFunction();
}
}

Powered by Google App Engine
This is Rietveld 408576698