| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of universe; | 5 part of universe; |
| 6 | 6 |
| 7 class SideEffects { | 7 class SideEffects { |
| 8 // Changes flags. | 8 // Changes flags. |
| 9 static const int FLAG_CHANGES_INDEX = 0; | 9 static const int FLAG_CHANGES_INDEX = 0; |
| 10 static const int FLAG_CHANGES_INSTANCE_PROPERTY = FLAG_CHANGES_INDEX + 1; | 10 static const int FLAG_CHANGES_INSTANCE_PROPERTY = FLAG_CHANGES_INDEX + 1; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 if (!dependsOnSomething()) buffer.write(' nothing'); | 98 if (!dependsOnSomething()) buffer.write(' nothing'); |
| 99 buffer.write(', Changes'); | 99 buffer.write(', Changes'); |
| 100 if (changesIndex()) buffer.write(' []'); | 100 if (changesIndex()) buffer.write(' []'); |
| 101 if (changesInstanceProperty()) buffer.write(' field'); | 101 if (changesInstanceProperty()) buffer.write(' field'); |
| 102 if (changesStaticProperty()) buffer.write(' static'); | 102 if (changesStaticProperty()) buffer.write(' static'); |
| 103 if (!hasSideEffects()) buffer.write(' nothing'); | 103 if (!hasSideEffects()) buffer.write(' nothing'); |
| 104 buffer.write('.'); | 104 buffer.write('.'); |
| 105 return buffer.toString(); | 105 return buffer.toString(); |
| 106 } | 106 } |
| 107 } | 107 } |
| OLD | NEW |