changeset 583:6167708eea3d

2008-01-31 Gary Benson <gbenson@redhat.com> * ports/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.hpp (LOTS_OF_REGS): Define as appropriate for lots of targets.
author Gary Benson <gbenson@redhat.com>
date Thu, 31 Jan 2008 14:04:45 +0000
parents 36c1000392c9
children 49ff51214afc
files ChangeLog ports/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.hpp
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 31 13:56:43 2008 +0000
+++ b/ChangeLog	Thu Jan 31 14:04:45 2008 +0000
@@ -1,3 +1,8 @@
+2008-01-31  Gary Benson  <gbenson@redhat.com>
+
+	* ports/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.hpp
+	(LOTS_OF_REGS): Define as appropriate for lots of targets.
+
 2008-01-31  Gary Benson  <gbenson@redhat.com>
 
 	* ports/hotspot/src/cpu/zero/vm/bytes_zero.hpp
--- a/ports/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.hpp	Thu Jan 31 13:56:43 2008 +0000
+++ b/ports/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.hpp	Thu Jan 31 14:04:45 2008 +0000
@@ -25,8 +25,10 @@
 
 // Platform specific for C++ based Interpreter
 
-#ifdef PPC
+#if defined(PPC) || defined(SPARC) || defined(IA64)
 #define LOTS_OF_REGS   // Use plenty of registers
+#elif defined(IA32) || defined(AMD64) || defined(ARM) || defined(S390)
+#undef LOTS_OF_REGS    // Loser platforms
 #else
 #error Add LOTS_OF_REGS as appropriate
 #endif