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

Unified Diff: vm/opt_code_generator_ia32.cc

Issue 9203004: - Remove support for ">>>" operator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: 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 | « vm/ast.cc ('k') | vm/parser.cc » ('j') | vm/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/opt_code_generator_ia32.cc
===================================================================
--- vm/opt_code_generator_ia32.cc (revision 3276)
+++ vm/opt_code_generator_ia32.cc (working copy)
@@ -696,7 +696,7 @@
// SHL: Implement with slow case so that it works both with Smi and Mint types.
// Result is in EAX. Mangles ECX, EBX, EDX.
void OptimizingCodeGenerator::GenerateSmiShiftBinaryOp(BinaryOpNode* node) {
- if (node->kind() == Token::kSAR) {
+ if (node->kind() == Token::kSHR) {
// TODO(srdjan): Implement for Mint?
DeoptimizationBlob* deopt_blob =
AddDeoptimizationBlob(node, EAX, ECX, kDeoptSAR);
@@ -1003,7 +1003,7 @@
default:
UNREACHABLE();
}
- } else if ((kind == Token::kSHL) || (kind == Token::kSAR)) {
+ } else if ((kind == Token::kSHL) || (kind == Token::kSHR)) {
GenerateSmiShiftBinaryOp(node);
} else {
// Unhandled node kind.
« no previous file with comments | « vm/ast.cc ('k') | vm/parser.cc » ('j') | vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698