Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: src/x64/lithium-x64.cc

Issue 18014003: Add X32 port into V8 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_++;
}

Powered by Google App Engine
This is Rietveld 408576698