Index: src/ia32/lithium-gap-resolver-ia32.h |
diff --git a/src/ia32/lithium-gap-resolver-ia32.h b/src/ia32/lithium-gap-resolver-ia32.h |
index b52034f045f88cbeffeff186eb10df633999e745..07a187820b41b0f1d32cb13efca3c6b7712a93c8 100644 |
--- a/src/ia32/lithium-gap-resolver-ia32.h |
+++ b/src/ia32/lithium-gap-resolver-ia32.h |
@@ -72,8 +72,8 @@ |
ZoneList<LMoveOperands> moves_; |
// Source and destination use counts for the general purpose registers. |
- int source_uses_[Register::kNumRegisters]; |
- int destination_uses_[DoubleRegister::kMaxNumRegisters]; |
+ int source_uses_[Register::kMaxNumAllocatableRegisters]; |
+ int destination_uses_[Register::kMaxNumAllocatableRegisters]; |
// If we had to spill on demand, the currently spilled register's |
// allocation index. |