Merge
authornever
Wed, 31 Mar 2010 16:29:10 -0700 (2010-03-31)
changeset 5232 a04d5732b356
parent 5231 cca2469087c4 (diff)
parent 5230 6eae8e0ade26 (current diff)
child 5233 6fd5e41e3f54
Merge
--- a/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp	Wed Mar 31 08:03:33 2010 -0700
+++ b/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp	Wed Mar 31 16:29:10 2010 -0700
@@ -2328,6 +2328,17 @@
       }
 
       DEFAULT:
+#ifdef ZERO
+          // Some zero configurations use the C++ interpreter as a
+          // fallback interpreter and have support for platform
+          // specific fast bytecodes which aren't supported here, so
+          // redispatch to the equivalent non-fast bytecode when they
+          // are encountered.
+          if (Bytecodes::is_defined((Bytecodes::Code)opcode)) {
+              opcode = (jubyte)Bytecodes::java_code((Bytecodes::Code)opcode);
+              goto opcode_switch;
+          }
+#endif
           fatal2("\t*** Unimplemented opcode: %d = %s\n",
                  opcode, Bytecodes::name((Bytecodes::Code)opcode));
           goto finish;