Index: runtime/vm/flow_graph_compiler.cc |
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc |
index 60692a0e3c4766686c912c97c433178218277a1b..8b2e000d0ead23e95842931a3233d7be220b2ae8 100644 |
--- a/runtime/vm/flow_graph_compiler.cc |
+++ b/runtime/vm/flow_graph_compiler.cc |
@@ -622,6 +622,8 @@ void FrameRegisterAllocator::AllocateRegisters(Instruction* instr) { |
Location result_location = locs->out(); |
if (result_location.IsUnallocated()) { |
switch (result_location.policy()) { |
+ case Location::kAny: |
+ case Location::kPrefersRegister: |
case Location::kRequiresRegister: |
result_location = Location::RegisterLocation( |
AllocateFreeRegister(blocked_registers)); |