diff src/share/vm/utilities/macros.hpp @ 5747:120820e30baa

added basic high-level interpreter support to HotSpot
author Christian Haeubl <haeubl@ssw.jku.at>
date Tue, 03 Jul 2012 16:56:40 +0200
parents 667c7bc2435b
children e522a00b91aa
line wrap: on
line diff
--- a/src/share/vm/utilities/macros.hpp	Tue Jul 03 15:00:23 2012 +0200
+++ b/src/share/vm/utilities/macros.hpp	Tue Jul 03 16:56:40 2012 +0200
@@ -80,7 +80,15 @@
 #else
 #define GRAAL_ONLY(code)
 #define NOT_GRAAL(code) code
-#endif
+#endif // GRAAL
+
+#ifdef HIGH_LEVEL_INTERPRETER
+#define HIGH_LEVEL_INTERPRETER_ONLY(code) code
+#define NOT_HIGH_LEVEL_INTERPRETER(code)
+#else
+#define HIGH_LEVEL_INTERPRETER_ONLY(code)
+#define NOT_HIGH_LEVEL_INTERPRETER(code) code
+#endif // HIGH_LEVEL_INTERPRETER
 
 #ifdef TIERED
 #define TIERED_ONLY(code) code