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

Unified Diff: frog/leg/ssa/codegen_helpers.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 | « no previous file | frog/leg/ssa/nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/ssa/codegen_helpers.dart
===================================================================
--- frog/leg/ssa/codegen_helpers.dart (revision 5611)
+++ frog/leg/ssa/codegen_helpers.dart (working copy)
@@ -38,6 +38,10 @@
// set generate at use site.
void visitIs(HIs instruction) {}
+ // A bailout target does not use its input like the other
+ // instructions. Its inputs must be emitted prior to visiting it.
+ void visitBailoutTarget(HBailoutTarget instruction) {}
+
void visitBasicBlock(HBasicBlock block) {
// Visit each instruction of the basic block in last-to-first order.
// Keep a list of expected inputs of the current "expression" being
« no previous file with comments | « no previous file | frog/leg/ssa/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698