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

Unified Diff: src/full-codegen.h

Issue 11275184: First draft of the sh4 port Base URL: http://github.com/v8/v8.git@master
Patch Set: 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
Index: src/full-codegen.h
diff --git a/src/full-codegen.h b/src/full-codegen.h
index 89b51f9582b2a3520af96155f3817ca12831ac91..022b7c703eabe018171aae12fd0bc7c705e94dbd 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
+ // TODO(STM): what is this for ?
Jakob Kummerow 2012/11/07 11:18:24 For estimating which functions are hot, the profil
remi.duraffort 2012/11/07 11:59:26 Thanks for the exaplnation. For the moment crancks
+ static const int kBackEdgeDistanceUnit = -1;
#else
#error Unsupported target architecture.
#endif

Powered by Google App Engine
This is Rietveld 408576698