Index: pkg/compiler/lib/src/js_backend/backend.dart |
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart |
index 4273279bc712c7409c1dbd7845217dc98d7adff7..a8d66e0f3be0bc1e70ab28aeb57735383da14137 100644 |
--- a/pkg/compiler/lib/src/js_backend/backend.dart |
+++ b/pkg/compiler/lib/src/js_backend/backend.dart |
@@ -281,6 +281,7 @@ class JavaScriptBackend extends Backend { |
Element assertTestMethod; |
Element assertThrowMethod; |
Element assertHelperMethod; |
+ Element assertUnreachableMethod; |
Element invokeOnMethod; |
ClassElement jsInterceptorClass; |
@@ -1197,6 +1198,7 @@ class JavaScriptBackend extends Backend { |
assert(traceHelper != null); |
enqueueInResolution(traceHelper, registry); |
} |
+ enqueueInResolution(assertUnreachableMethod, registry); |
registerCheckedModeHelpers(registry); |
} |
@@ -2124,6 +2126,7 @@ class JavaScriptBackend extends Backend { |
assertTestMethod = findHelper('assertTest'); |
assertThrowMethod = findHelper('assertThrow'); |
assertHelperMethod = findHelper('assertHelper'); |
+ assertUnreachableMethod = findHelper('assertUnreachable'); |
typeLiteralClass = findClass('TypeImpl'); |
constMapLiteralClass = findClass('ConstantMap'); |