Index: tests/compiler/dart2js/mock_libraries.dart |
diff --git a/tests/compiler/dart2js/mock_libraries.dart b/tests/compiler/dart2js/mock_libraries.dart |
index f0d2b720d950983dc5e3d03b41ea6dac5d27b82f..1a47144e1fae44defa1172afcd0f11b539af32ad 100644 |
--- a/tests/compiler/dart2js/mock_libraries.dart |
+++ b/tests/compiler/dart2js/mock_libraries.dart |
@@ -100,6 +100,8 @@ const Map<String, String> DEFAULT_JS_HELPER_LIBRARY = const <String, String>{ |
'boolConversionCheck': 'boolConversionCheck(x) {}', |
'boolTypeCast': 'boolTypeCast(value) {}', |
'boolTypeCheck': 'boolTypeCheck(value) {}', |
+ 'checkSubtype': 'checkSubtype(object, isField, checks, asField) {}', |
+ 'checkSubtypeOfRuntimeType': 'checkSubtypeOfRuntimeType(o, t) {}', |
'BoundClosure': r'''abstract class BoundClosure extends Closure { |
var self; |
var target; |
@@ -205,7 +207,7 @@ const Map<String, String> DEFAULT_JS_HELPER_LIBRARY = const <String, String>{ |
'subtypeOfRuntimeTypeCast': 'subtypeOfRuntimeTypeCast(object, type) {}', |
'throwAbstractClassInstantiationError': |
'throwAbstractClassInstantiationError(className) {}', |
- 'throwCyclicInit': 'throwCyclicInit() {}', |
+ 'throwCyclicInit': 'throwCyclicInit(staticName) {}', |
'throwExpression': 'throwExpression(e) {}', |
'throwNoSuchMethod': |
'throwNoSuchMethod(obj, name, arguments, expectedArgumentNames) {}', |