| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index a843841723cb2102b9787cacc5a24013538eaa60..cf27ea256b59bfe1abf76dfe4fe87dbfd65f3c68 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -97,11 +97,21 @@ namespace internal {
|
| #define CODE_STUB_LIST_MIPS(V)
|
| #endif
|
|
|
| +// List of code stubs only used on SH4 platforms
|
| +#ifdef V8_TARGET_ARCH_SH4
|
| +# define CODE_STUB_LIST_SH4(V) \
|
| + V(RegExpCEntry) \
|
| + V(DirectCEntry)
|
| +#else
|
| +#define CODE_STUB_LIST_SH4(V)
|
| +#endif
|
| +
|
| // Combined list of code stubs.
|
| #define CODE_STUB_LIST(V) \
|
| CODE_STUB_LIST_ALL_PLATFORMS(V) \
|
| CODE_STUB_LIST_ARM(V) \
|
| - CODE_STUB_LIST_MIPS(V)
|
| + CODE_STUB_LIST_MIPS(V) \
|
| + CODE_STUB_LIST_SH4(V)
|
|
|
| // Mode to overwrite BinaryExpression values.
|
| enum OverwriteMode { NO_OVERWRITE, OVERWRITE_LEFT, OVERWRITE_RIGHT };
|
| @@ -256,6 +266,8 @@ class RuntimeCallHelper {
|
| #include "arm/code-stubs-arm.h"
|
| #elif V8_TARGET_ARCH_MIPS
|
| #include "mips/code-stubs-mips.h"
|
| +#elif V8_TARGET_ARCH_SH4
|
| +#include "sh4/code-stubs-sh4.h"
|
| #else
|
| #error Unsupported target architecture.
|
| #endif
|
|
|