| Index: src/codegen.h
|
| diff --git a/src/codegen.h b/src/codegen.h
|
| index 7a4b85814dd17c03dab8b839f662555f21a6c5be..2a6ad6435b55ef372d319b0583bb241040fffed1 100644
|
| --- a/src/codegen.h
|
| +++ b/src/codegen.h
|
| @@ -80,25 +80,6 @@ enum UnaryOverwriteMode { UNARY_OVERWRITE, UNARY_NO_OVERWRITE };
|
| // Types of uncatchable exceptions.
|
| enum UncatchableExceptionType { OUT_OF_MEMORY, TERMINATION };
|
|
|
| -
|
| -#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"
|
| -#elif V8_TARGET_ARCH_MIPS
|
| -#include "mips/codegen-mips.h"
|
| -#else
|
| -#error Unsupported target architecture.
|
| -#endif
|
| -
|
| -#include "register-allocator.h"
|
| -
|
| -namespace v8 {
|
| -namespace internal {
|
| -
|
| -
|
| #define INLINE_RUNTIME_FUNCTION_LIST(F) \
|
| F(IsSmi, 1, 1) \
|
| F(IsNonNegativeSmi, 1, 1) \
|
| @@ -132,8 +113,26 @@ namespace internal {
|
| F(MathPow, 2, 1) \
|
| F(MathSin, 1, 1) \
|
| F(MathCos, 1, 1) \
|
| - F(MathSqrt, 1, 1)
|
| + F(MathSqrt, 1, 1) \
|
| + F(IsRegExpEquivalent, 2, 1)
|
| +
|
| +
|
| +#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"
|
| +#elif V8_TARGET_ARCH_MIPS
|
| +#include "mips/codegen-mips.h"
|
| +#else
|
| +#error Unsupported target architecture.
|
| +#endif
|
|
|
| +#include "register-allocator.h"
|
| +
|
| +namespace v8 {
|
| +namespace internal {
|
|
|
| // Support for "structured" code comments.
|
| #ifdef DEBUG
|
|
|