Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Unified Diff: lib/compiler/implementation/constant_system.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/compiler/implementation/constant_system.dart
diff --git a/lib/compiler/implementation/constant_system.dart b/lib/compiler/implementation/constant_system.dart
index 1f8862d55cd477b8f4cb8b56bb32ef6b9862d749..e02bfdf1c8c0c1394c65a7d0e1aba2ee59ab55d0 100644
--- a/lib/compiler/implementation/constant_system.dart
+++ b/lib/compiler/implementation/constant_system.dart
@@ -21,28 +21,28 @@ interface BinaryOperation extends Operation {
* A [ConstantSystem] is responsible for creating constants and folding them.
*/
interface ConstantSystem {
- BinaryOperation get add();
- BinaryOperation get bitAnd();
- UnaryOperation get bitNot();
- BinaryOperation get bitOr();
- BinaryOperation get bitXor();
- BinaryOperation get booleanAnd();
- BinaryOperation get booleanOr();
- BinaryOperation get divide();
- BinaryOperation get equal();
- BinaryOperation get greaterEqual();
- BinaryOperation get greater();
- BinaryOperation get identity();
- BinaryOperation get lessEqual();
- BinaryOperation get less();
- BinaryOperation get modulo();
- BinaryOperation get multiply();
- UnaryOperation get negate();
- UnaryOperation get not();
- BinaryOperation get shiftLeft();
- BinaryOperation get shiftRight();
- BinaryOperation get subtract();
- BinaryOperation get truncatingDivide();
+ BinaryOperation get add;
+ BinaryOperation get bitAnd;
+ UnaryOperation get bitNot;
+ BinaryOperation get bitOr;
+ BinaryOperation get bitXor;
+ BinaryOperation get booleanAnd;
+ BinaryOperation get booleanOr;
+ BinaryOperation get divide;
+ BinaryOperation get equal;
+ BinaryOperation get greaterEqual;
+ BinaryOperation get greater;
+ BinaryOperation get identity;
+ BinaryOperation get lessEqual;
+ BinaryOperation get less;
+ BinaryOperation get modulo;
+ BinaryOperation get multiply;
+ UnaryOperation get negate;
+ UnaryOperation get not;
+ BinaryOperation get shiftLeft;
+ BinaryOperation get shiftRight;
+ BinaryOperation get subtract;
+ BinaryOperation get truncatingDivide;
Constant createInt(int i);
Constant createDouble(double d);

Powered by Google App Engine
This is Rietveld 408576698