Chromium Code Reviews| Index: src/full-codegen.cc |
| =================================================================== |
| --- src/full-codegen.cc (revision 15486) |
| +++ src/full-codegen.cc (working copy) |
| @@ -302,6 +302,10 @@ |
| #define __ ACCESS_MASM(masm()) |
| +#if V8_TARGET_ARCH_X32 |
|
danno
2013/07/17 13:33:21
I am not sure why x32 needs this, but there should
haitao.feng
2013/07/18 10:04:09
In this file, 32-bits push/pop is needed but there
|
| +#define push Push |
| +#define pop Pop |
| +#endif |
| bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
| Isolate* isolate = info->isolate(); |
| @@ -1616,6 +1620,10 @@ |
| } |
| +#if V8_TARGET_ARCH_X32 |
| +#undef push |
| +#undef pop |
| +#endif |
| #undef __ |