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

Unified Diff: lib/compiler/implementation/js_backend/constant_system_javascript.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/js_backend/constant_system_javascript.dart
diff --git a/lib/compiler/implementation/js_backend/constant_system_javascript.dart b/lib/compiler/implementation/js_backend/constant_system_javascript.dart
index 4c7ecc1509bee8ec35bab727b905028222912af4..5ca980314d10000b1c8b38ae91001e4ef22ae454 100644
--- a/lib/compiler/implementation/js_backend/constant_system_javascript.dart
+++ b/lib/compiler/implementation/js_backend/constant_system_javascript.dart
@@ -29,7 +29,7 @@ class JavaScriptBinaryBitOperation implements BinaryOperation {
const JavaScriptBinaryBitOperation(this.dartBitOperation);
bool isUserDefinable() => dartBitOperation.isUserDefinable();
- SourceString get name() => dartBitOperation.name;
+ SourceString get name => dartBitOperation.name;
Constant fold(Constant left, Constant right) {
// In JavaScript we don't check for -0 and treat it as if it was zero.
@@ -76,7 +76,7 @@ class JavaScriptNegateOperation implements UnaryOperation {
const JavaScriptNegateOperation();
bool isUserDefinable() => dartNegateOperation.isUserDefinable();
- SourceString get name() => dartNegateOperation.name;
+ SourceString get name => dartNegateOperation.name;
Constant fold(Constant constant) {
if (constant.isInt()) {
@@ -95,7 +95,7 @@ class JavaScriptBinaryArithmeticOperation implements BinaryOperation {
const JavaScriptBinaryArithmeticOperation(this.dartArithmeticOperation);
bool isUserDefinable() => dartArithmeticOperation.isUserDefinable();
- SourceString get name() => dartArithmeticOperation.name;
+ SourceString get name => dartArithmeticOperation.name;
Constant fold(Constant left, Constant right) {
Constant result = dartArithmeticOperation.fold(left, right);
@@ -110,7 +110,7 @@ class JavaScriptIdentityOperation implements BinaryOperation {
const JavaScriptIdentityOperation();
bool isUserDefinable() => dartIdentityOperation.isUserDefinable();
- SourceString get name() => dartIdentityOperation.name;
+ SourceString get name => dartIdentityOperation.name;
BoolConstant fold(Constant left, Constant right) {
BoolConstant result = dartIdentityOperation.fold(left, right);
« no previous file with comments | « lib/compiler/implementation/js_backend/backend.dart ('k') | lib/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698