diff src/share/vm/c1x/c1x_TargetMethod.cpp @ 2045:9c96c873c42b

Fix includes to match new hotspot mechanism.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Fri, 07 Jan 2011 18:45:09 +0100
parents 20a3896518ac
children
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_TargetMethod.cpp	Fri Jan 07 18:18:08 2011 +0100
+++ b/src/share/vm/c1x/c1x_TargetMethod.cpp	Fri Jan 07 18:45:09 2011 +0100
@@ -22,8 +22,8 @@
  *
  */
 
-# include "incls/_precompiled.incl"
-# include "incls/_c1x_TargetMethod.cpp.incl"
+#include "precompiled.hpp"
+#include "c1x/c1x_TargetMethod.hpp"
 
 // This function is similar to javaClasses.cpp, it computes the field offset of a (static or instance) field.
 // It looks up the name and signature symbols without creating new ones, all the symbols of these classes need to be already loaded.
@@ -43,7 +43,7 @@
   fieldDescriptor fd;
   if (!ik->find_field(name_symbol, signature_symbol, &fd)) {
     ResourceMark rm;
-    tty->print_cr("Invalid layout of %s at %s", ik->external_name(), name_symbol->as_C_string());
+    tty->print_cr("Invalid layout of %s at %s", name_symbol->as_C_string(), ik->external_name());
     fatal("Invalid layout of preloaded class");
   }
   assert(fd.is_static() == static_field, "static/instance mismatch");