Index: pkg/compiler/lib/src/js_backend/impact_transformer.dart |
diff --git a/pkg/compiler/lib/src/js_backend/impact_transformer.dart b/pkg/compiler/lib/src/js_backend/impact_transformer.dart |
index 6703c9fe3c8ac55797ae3664d32edb0ec96abfcd..6cff1bcf97a99d54acb8aae026cc9c56709925ac 100644 |
--- a/pkg/compiler/lib/src/js_backend/impact_transformer.dart |
+++ b/pkg/compiler/lib/src/js_backend/impact_transformer.dart |
@@ -139,6 +139,9 @@ class JavaScriptImpactTransformer extends ImpactTransformer { |
case Feature.THROW_RUNTIME_ERROR: |
registerImpact(_impacts.throwRuntimeError); |
break; |
+ case Feature.THROW_UNSUPPORTED_ERROR: |
+ registerImpact(_impacts.throwUnsupportedError); |
+ break; |
case Feature.TYPE_VARIABLE_BOUNDS_CHECK: |
registerImpact(_impacts.typeVariableBoundCheck); |
break; |