Index: runtime/vm/flow_graph_compiler.cc |
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc |
index 7f66159cda11f36f129f5cdc959b995971520460..29c2fe05e5adcc1c4c609fdbe4617d13b65bffb0 100644 |
--- a/runtime/vm/flow_graph_compiler.cc |
+++ b/runtime/vm/flow_graph_compiler.cc |
@@ -623,6 +623,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)); |