Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: src/assembler.cc

Issue 11275184: First draft of the sh4 port Base URL: http://github.com/v8/v8.git@master
Patch Set: Use GYP and fixe some typos Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | src/atomicops.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.cc
diff --git a/src/assembler.cc b/src/assembler.cc
index d81d4ae61480fe13483d3a5fdebf1a38d7f05bd2..a1f0b150d9dac75a2994fb18ebde58c66cf343ba 100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -63,6 +63,8 @@
#include "arm/assembler-arm-inl.h"
#elif V8_TARGET_ARCH_MIPS
#include "mips/assembler-mips-inl.h"
+#elif V8_TARGET_ARCH_SH4
+#include "sh4/assembler-sh4-inl.h"
#else
#error "Unknown architecture."
#endif
@@ -77,6 +79,8 @@
#include "arm/regexp-macro-assembler-arm.h"
#elif V8_TARGET_ARCH_MIPS
#include "mips/regexp-macro-assembler-mips.h"
+#elif V8_TARGET_ARCH_SH4
+#include "sh4/regexp-macro-assembler-sh4.h"
#else // Unknown architecture.
#error "Unknown architecture."
#endif // Target architecture.
@@ -1066,6 +1070,8 @@ ExternalReference ExternalReference::re_check_stack_guard_state(
function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState);
#elif V8_TARGET_ARCH_MIPS
function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState);
+#elif V8_TARGET_ARCH_SH4
+ function = FUNCTION_ADDR(RegExpMacroAssemblerSH4::CheckStackGuardState);
#else
UNREACHABLE();
#endif
« no previous file with comments | « build/common.gypi ('k') | src/atomicops.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698