Chromium Code Reviews

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart

Issue 12334070: Support runtime check of function types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: New check encoding Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
index 155a74a864143dc1d29225b2adcd5825f5171ec4..9c9e80d20c011bf7ba560ae6f1a468bca0782ae3 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/js_helper.dart
@@ -12,7 +12,14 @@ import 'dart:_foreign_helper' show DART_CLOSURE_TO_JS,
JS_DART_OBJECT_CONSTRUCTOR,
JS_OPERATOR_IS_PREFIX,
JS_OPERATOR_AS_PREFIX,
+ JS_SIGNATURE_NAME,
JS_HAS_EQUALS,
+ JS_FUNCTION_TYPE_TAG,
+ JS_FUNCTION_TYPE_VOID_RETURN_TAG,
+ JS_FUNCTION_TYPE_RETURN_TYPE_TAG,
+ JS_FUNCTION_TYPE_REQUIRED_PARAMETERS_TAG,
+ JS_FUNCTION_TYPE_OPTIONAL_PARAMETERS_TAG,
+ JS_FUNCTION_TYPE_NAMED_PARAMETERS_TAG,
RAW_DART_FUNCTION_REF,
UNINTERCEPTED;
import 'dart:_interceptors' show getInterceptor,

Powered by Google App Engine