| Index: src/codegen.h
|
| diff --git a/src/codegen.h b/src/codegen.h
|
| index 3d4599523257e7f4ca32f7163c13d9e0f15163cb..650ce3bf82f6c189d7b1ba01602d76ba14b864c8 100644
|
| --- a/src/codegen.h
|
| +++ b/src/codegen.h
|
| @@ -76,16 +76,12 @@
|
| enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT };
|
|
|
|
|
| -#ifdef V8_ARCH_ARM
|
| -#include "arm/codegen-arm.h"
|
| -#endif
|
| -
|
| -#ifdef V8_ARCH_X64
|
| -#include "x64/codegen-x64.h"
|
| -#endif
|
| -
|
| -#ifdef V8_ARCH_IA32
|
| +#if V8_TARGET_ARCH_IA32
|
| #include "ia32/codegen-ia32.h"
|
| +#elif V8_TARGET_ARCH_X64
|
| +#include "x64/codegen-x64.h"
|
| +#elif V8_TARGET_ARCH_ARM
|
| +#include "arm/codegen-arm.h"
|
| #endif
|
|
|
| namespace v8 { namespace internal {
|
|
|