| Index: pkg/compiler/lib/src/native/behavior.dart
|
| diff --git a/pkg/compiler/lib/src/native/behavior.dart b/pkg/compiler/lib/src/native/behavior.dart
|
| index 438dbe6d1797ecdcef10d0ae306075f3c9bfdcab..cd61a71db0337704f88e9ebcd90366a704cf1a2a 100644
|
| --- a/pkg/compiler/lib/src/native/behavior.dart
|
| +++ b/pkg/compiler/lib/src/native/behavior.dart
|
| @@ -111,6 +111,9 @@ class NativeBehavior {
|
| static NativeBehavior get PURE => NativeBehavior._makePure();
|
| static NativeBehavior get PURE_ALLOCATION =>
|
| NativeBehavior._makePure(isAllocation: true);
|
| + static NativeBehavior get CHANGES_OTHER => NativeBehavior._makeChangesOther();
|
| + static NativeBehavior get DEPENDS_OTHER => NativeBehavior._makeDependsOther();
|
| +
|
|
|
| String toString() {
|
| return 'NativeBehavior('
|
| @@ -132,6 +135,18 @@ class NativeBehavior {
|
| return behavior;
|
| }
|
|
|
| + static NativeBehavior _makeChangesOther() {
|
| + // TODO(25544): Have a distinct effect instead of using static properties to
|
| + // model 'other' effects.
|
| + return _makePure()..sideEffects.setChangesStaticProperty();
|
| + }
|
| +
|
| + static NativeBehavior _makeDependsOther() {
|
| + // TODO(25544): Have a distinct effect instead of using static properties to
|
| + // model 'other' effects.
|
| + return _makePure()..sideEffects.setDependsOnStaticPropertyStore();
|
| + }
|
| +
|
| /// Processes the type specification string of a call to JS and stores the
|
| /// result in the [typesReturned] and [typesInstantiated]. It furthermore
|
| /// computes the side effects, and, if given, invokes [setSideEffects] with
|
|
|