< prev index next >

src/cpu/sparc/vm/macroAssembler_sparc.cpp

Print this page
rev 13107 : imported patch jvm_h

@@ -29,10 +29,11 @@
 #include "gc/shared/collectedHeap.inline.hpp"
 #include "interpreter/interpreter.hpp"
 #include "memory/resourceArea.hpp"
 #include "memory/universe.hpp"
 #include "oops/klass.inline.hpp"
+#include "prims/jvm.h"
 #include "prims/methodHandles.hpp"
 #include "runtime/biasedLocking.hpp"
 #include "runtime/interfaceSupport.hpp"
 #include "runtime/objectMonitor.hpp"
 #include "runtime/os.inline.hpp"

@@ -1390,10 +1391,17 @@
   if (ShowMessageBoxOnError) { STOP(b); }
   else                       { warn(b); }
 }
 
 
+void MacroAssembler::unimplemented(const char* what) {
+  char* b = new char[1024];
+  jio_snprintf(b, 1024, "unimplemented: %s", what);
+  stop(b);
+}
+
+
 void MacroAssembler::stop_subroutine() {
   RegistersForDebugging::save_registers(this);
 
   // for the sake of the debugger, stick a PC on the current frame
   // (this assumes that the caller has performed an extra "save")
< prev index next >