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

Unified Diff: frog/leg/ssa/nodes.dart

Issue 9720022: Fix a bug related to bailout where an instruction would be generate at use site for a HBailoutTarge… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | « frog/leg/ssa/codegen_helpers.dart ('k') | samples/tests/samples/samples.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/ssa/nodes.dart
===================================================================
--- frog/leg/ssa/nodes.dart (revision 5611)
+++ frog/leg/ssa/nodes.dart (working copy)
@@ -2056,7 +2056,9 @@
return HType.UNKNOWN;
}
- bool hasExpectedType() => value.hasExpectedType();
+ // This instruction does not yield a new value, so it always
+ // has the expected type (void).
+ bool hasExpectedType() => true;
}
class HNonSsaInstruction extends HInstruction {
« no previous file with comments | « frog/leg/ssa/codegen_helpers.dart ('k') | samples/tests/samples/samples.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698