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

Unified Diff: lib/compiler/implementation/ssa/builder.dart

Issue 10558022: Better bitwise and binary arithmetic when the left operand is known to be a number. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup HTypeConversion usage. Created 8 years, 6 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/ssa/builder.dart
diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
index 4abba9ad1f258c5ee19d06a2f8c227cc4a13124e..c338b66c97118f7f0ae6454cefdae154aa244622 100644
--- a/lib/compiler/implementation/ssa/builder.dart
+++ b/lib/compiler/implementation/ssa/builder.dart
@@ -1107,7 +1107,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
}
HInstruction instruction =
- new HTypeConversion(convertedType, original, true);
+ new HTypeConversion.checkedModeCheck(convertedType, original);
add(instruction);
return instruction;
}
« no previous file with comments | « no previous file | lib/compiler/implementation/ssa/codegen.dart » ('j') | lib/compiler/implementation/ssa/codegen_helpers.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698