Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 15486) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -346,6 +346,14 @@ |
int LPlatformChunk::GetNextSpillIndex(bool is_double) { |
+#ifdef V8_TARGET_ARCH_X32 |
+ // Skip a slot if for a double-width slot. |
+ // TODO(haitao): Support aligned spilled doubles. |
+ if (is_double) { |
+ spill_slot_count_++; |
+ spill_slot_count_ |= 1; |
+ } |
+#endif |
return spill_slot_count_++; |
} |