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