Index: src/crankshaft/x87/lithium-gap-resolver-x87.h |
diff --git a/src/crankshaft/x87/lithium-gap-resolver-x87.h b/src/crankshaft/x87/lithium-gap-resolver-x87.h |
index e688ffe9c2d1d6fa28ef8a2e71ba9088e3faadcc..6b6e2e64b6b04499a8c08943f937c4716d1dbb4f 100644 |
--- a/src/crankshaft/x87/lithium-gap-resolver-x87.h |
+++ b/src/crankshaft/x87/lithium-gap-resolver-x87.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. |