Index: src/full-codegen.h |
diff --git a/src/full-codegen.h b/src/full-codegen.h |
index 89b51f9582b2a3520af96155f3817ca12831ac91..897c7c9b437cf1f1bc460386e8b4bcba902437f3 100644 |
--- a/src/full-codegen.h |
+++ b/src/full-codegen.h |
@@ -127,6 +127,9 @@ class FullCodeGenerator: public AstVisitor { |
static const int kBackEdgeDistanceUnit = 142; |
#elif V8_TARGET_ARCH_MIPS |
static const int kBackEdgeDistanceUnit = 142; |
+#elif V8_TARGET_ARCH_SH4 |
+ // v8 for sh4 does not support cranckshaft for the moment. |
+ static const int kBackEdgeDistanceUnit = 142; |
#else |
#error Unsupported target architecture. |
#endif |