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

Unified Diff: compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java

Issue 9232041: Remove support for >>> and >>>= operators in dartc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove >>> and >>>= operators Created 8 years, 11 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: compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java
diff --git a/compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java b/compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java
index ad15100b411d1e35b295e50bfc1e431ba9603229..9c4d50e7478c306edc09322ff31d02b5d25e2949 100644
--- a/compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java
+++ b/compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -17,10 +17,10 @@ import com.google.dart.compiler.ast.DartMethodDefinition;
import com.google.dart.compiler.ast.DartMethodInvocation;
import com.google.dart.compiler.ast.DartNode;
import com.google.dart.compiler.ast.DartNullLiteral;
+import com.google.dart.compiler.ast.DartParameter;
import com.google.dart.compiler.ast.DartPropertyAccess;
import com.google.dart.compiler.ast.DartReturnStatement;
import com.google.dart.compiler.ast.DartStatement;
-import com.google.dart.compiler.ast.DartParameter;
import com.google.dart.compiler.ast.DartThisExpression;
import com.google.dart.compiler.ast.DartUnaryExpression;
import com.google.dart.compiler.ast.DartUnit;
@@ -62,7 +62,6 @@ class BasicOptimizationStrategy implements OptimizationStrategy {
switch (operator) {
case SHL:
case SAR:
- case SHR:
case BIT_AND:
case BIT_OR:
case BIT_XOR:
@@ -289,7 +288,6 @@ class BasicOptimizationStrategy implements OptimizationStrategy {
case ASSIGN_SUB:
case ASSIGN_MUL:
case ASSIGN_DIV:
- case ASSIGN_SHR:
case ASSIGN_SAR:
case ASSIGN_SHL:
case ASSIGN_BIT_AND:

Powered by Google App Engine
This is Rietveld 408576698