Index: src/lithium.cc |
=================================================================== |
--- src/lithium.cc (revision 15486) |
+++ src/lithium.cc (working copy) |
@@ -35,6 +35,9 @@ |
#elif V8_TARGET_ARCH_X64 |
#include "x64/lithium-x64.h" |
#include "x64/lithium-codegen-x64.h" |
+#elif V8_TARGET_ARCH_X32 |
+#include "x32/lithium-x32.h" |
+#include "x32/lithium-codegen-x32.h" |
#elif V8_TARGET_ARCH_ARM |
#include "arm/lithium-arm.h" |
#include "arm/lithium-codegen-arm.h" |
@@ -269,8 +272,12 @@ |
// context in the fixed part of the frame. |
return -(index + 3) * kPointerSize; |
} else { |
+#ifndef V8_TARGET_ARCH_X32 |
danno
2013/07/17 13:33:21
Eliminate this ifdef through use of constants disc
|
// Incoming parameter. Skip the return address. |
return -(index - 1) * kPointerSize; |
+#else |
+ return -index * kPointerSize - 1 * kPointerSize + 2 * kHWRegSize; |
+#endif |
} |
} |