diff src/share/vm/c1x/c1x_Compiler.cpp @ 2215:999f8086cc4f

More changes to make it compile and work on win64.
author Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
date Mon, 21 Feb 2011 20:44:57 +0100
parents 9569fdf936ff
children 569d3fe7d65c
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_Compiler.cpp	Mon Feb 21 19:53:48 2011 +0100
+++ b/src/share/vm/c1x/c1x_Compiler.cpp	Mon Feb 21 20:44:57 2011 +0100
@@ -68,7 +68,7 @@
     for (int i = 0; i < Arguments::num_c1x_args(); ++i) {
       const char* arg = Arguments::c1x_args_array()[i];
       Handle option = java_lang_String::create_from_str(arg, THREAD);
-      bool result = VMExits::setOption(option);
+      jboolean result = VMExits::setOption(option);
       if (!result) fatal("Invalid option for C1X!");
     }
   }
@@ -198,5 +198,6 @@
       fatal(err_msg("unexpected CiKind: %c", ch));
       break;
   }
+  return T_ILLEGAL;
 }