Index: runtime/vm/flow_graph_allocator.cc |
diff --git a/runtime/vm/flow_graph_allocator.cc b/runtime/vm/flow_graph_allocator.cc |
index 78f850e4d481522396654da1b6fc208d5228afb1..07e3086244a9185e7a0c9ee7b15a2e9690108095 100644 |
--- a/runtime/vm/flow_graph_allocator.cc |
+++ b/runtime/vm/flow_graph_allocator.cc |
@@ -118,6 +118,7 @@ FlowGraphAllocator::FlowGraphAllocator(const FlowGraph& flow_graph, |
} |
blocked_cpu_registers_[SPREG] = true; |
blocked_cpu_registers_[FPREG] = true; |
+ blocked_cpu_registers_[THR] = true; |
// FpuTMP is used as scratch by optimized code and parallel move resolver. |
blocked_fpu_registers_[FpuTMP] = true; |