Index: runtime/vm/flow_graph_compiler.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler.cc (revision 16802) |
+++ runtime/vm/flow_graph_compiler.cc (working copy) |
@@ -801,7 +801,8 @@ |
} else if (loc.IsUnallocated() || loc.IsConstant()) { |
ASSERT(loc.IsConstant() || |
((loc.policy() == Location::kRequiresRegister) || |
- (loc.policy() == Location::kWritableRegister))); |
+ (loc.policy() == Location::kWritableRegister) || |
+ (loc.policy() == Location::kAny))); |
reg = AllocateFreeRegister(blocked_registers); |
locs->set_in(i, Location::RegisterLocation(reg)); |
} |