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 f9921450c044442dddecabb6d1c24f49b9d6ebe0..d36e78b5f668c2d461fdeb4f73fcae7298bbea50 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. |