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

Unified Diff: pkg/compiler/lib/src/js_backend/codegen/glue.dart

Issue 1123343008: Implement raw list checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update test expectations. Created 5 years, 7 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: pkg/compiler/lib/src/js_backend/codegen/glue.dart
diff --git a/pkg/compiler/lib/src/js_backend/codegen/glue.dart b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
index 7e9357e31d82dcca2784885af5b3914e8f90070e..27c568ec76ee73e8f214af52a2b38eb12802ead4 100644
--- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
+++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
@@ -218,4 +218,6 @@ class Glue {
bool operatorEqHandlesNullArgument(FunctionElement element) {
return _backend.operatorEqHandlesNullArgument(element);
}
+
+ bool isListClass(ClassElement cls) => cls == _compiler.listClass;
}

Powered by Google App Engine
This is Rietveld 408576698