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

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

Issue 10540048: Implement 'as' operator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: No entries in language.status, vm and dartc already implemented 'as'. 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/codegen_helpers.dart
diff --git a/lib/compiler/implementation/ssa/codegen_helpers.dart b/lib/compiler/implementation/ssa/codegen_helpers.dart
index 830712d35cb0448abaaf02d989e6bfa5495fd50a..b747a08ab7f953bcf923bbb69097fdd88f463c73 100644
--- a/lib/compiler/implementation/ssa/codegen_helpers.dart
+++ b/lib/compiler/implementation/ssa/codegen_helpers.dart
@@ -59,9 +59,9 @@ class SsaInstructionMerger extends HBaseVisitor {
void visitIdentity(HIdentity instruction) {}
void visitTypeConversion(HTypeConversion instruction) {
- if (!instruction.isChecked()) {
+ if (!instruction.isChecked) {
generateAtUseSite.add(instruction);
- } else if (instruction.isCheckedModeCheck()) {
+ } else if (instruction.isCheckedModeCheck) {
// Checked mode checks compile to code that only use their input
// once, so we can safely visit them and try to merge the input.
visitInstruction(instruction);

Powered by Google App Engine
This is Rietveld 408576698