| Index: pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/backend_impact.dart b/pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| index d4b992a11a30fa770801eb4b3ac95a69fca28f74..265566e24e2d084b604a6733ed1550d339ac7f6e 100644
|
| --- a/pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/backend_impact.dart
|
| @@ -200,7 +200,35 @@ class BackendImpacts {
|
|
|
| BackendImpact get stringInterpolation => new BackendImpact(
|
| staticUses: [
|
| - helpers.stringInterpolationHelper]);
|
| + helpers.stringInterpolationHelper],
|
| + otherImpacts: [
|
| + needsString('Strings are created.')]);
|
| +
|
| + BackendImpact get stringJuxtaposition {
|
| + return needsString('String.concat is used.');
|
| + }
|
| +
|
| + // TODO(johnniwinther): Point to to the JavaScript classes instead of the Dart
|
| + // classes in these impacts.
|
| + BackendImpact get nullLiteral => new BackendImpact(
|
| + instantiatedClasses: [
|
| + coreClasses.nullClass]);
|
| +
|
| + BackendImpact get boolLiteral => new BackendImpact(
|
| + instantiatedClasses: [
|
| + coreClasses.boolClass]);
|
| +
|
| + BackendImpact get intLiteral => new BackendImpact(
|
| + instantiatedClasses: [
|
| + coreClasses.intClass]);
|
| +
|
| + BackendImpact get doubleLiteral => new BackendImpact(
|
| + instantiatedClasses: [
|
| + coreClasses.doubleClass]);
|
| +
|
| + BackendImpact get stringLiteral => new BackendImpact(
|
| + instantiatedClasses: [
|
| + coreClasses.stringClass]);
|
|
|
| BackendImpact get catchStatement => new BackendImpact(
|
| staticUses: [
|
|
|