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

Unified Diff: compiler/java/com/google/dart/compiler/backend/common/TypeHeuristicImplementation.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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/backend/common/TypeHeuristicImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/backend/common/TypeHeuristicImplementation.java b/compiler/java/com/google/dart/compiler/backend/common/TypeHeuristicImplementation.java
index 8ce6545c1b535a8067cc6f7701c3c81ba437457d..41811d0b949dc9728bb5158880830c82b36ad680 100644
--- a/compiler/java/com/google/dart/compiler/backend/common/TypeHeuristicImplementation.java
+++ b/compiler/java/com/google/dart/compiler/backend/common/TypeHeuristicImplementation.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.
@@ -515,7 +515,6 @@ public class TypeHeuristicImplementation implements TypeHeuristic {
case BIT_XOR:
case SAR:
case SHL:
- case SHR:
case ASSIGN_ADD:
case ASSIGN_SUB:
case ASSIGN_MUL:
@@ -525,8 +524,7 @@ public class TypeHeuristicImplementation implements TypeHeuristic {
case ASSIGN_BIT_OR:
case ASSIGN_BIT_XOR:
case ASSIGN_SAR:
- case ASSIGN_SHL:
- case ASSIGN_SHR: {
+ case ASSIGN_SHL: {
computeAndRecordSelectorTypes(node, receiver, getOperatorSelectorName(opToken));
return receiver;
}
@@ -1086,8 +1084,6 @@ public class TypeHeuristicImplementation implements TypeHeuristic {
return getOperatorSelectorName(Token.SHL);
case ASSIGN_SAR:
return getOperatorSelectorName(Token.SAR);
- case ASSIGN_SHR:
- return getOperatorSelectorName(Token.SHR);
}
return ("operator " + op.getSyntax());
}
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/backend/js/BasicOptimizationStrategy.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698