changeset 5132:e1a03c81cef0

another fix for non-graal builds
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 21 Mar 2012 13:05:57 +0100
parents e307e8104e12
children def0b7331cca ee615aee55b4
files src/share/vm/opto/output.cpp src/share/vm/shark/sharkCacheDecache.cpp
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/output.cpp	Wed Mar 21 11:57:57 2012 +0100
+++ b/src/share/vm/opto/output.cpp	Wed Mar 21 13:05:57 2012 +0100
@@ -815,7 +815,7 @@
   // Add the safepoint in the DebugInfoRecorder
   if( !mach->is_MachCall() ) {
     mcall = NULL;
-    debug_info()->add_safepoint(safepoint_pc_offset, sfn->_oop_map);
+    debug_info()->add_safepoint(safepoint_pc_offset, -1, sfn->_oop_map);
   } else {
     mcall = mach->as_MachCall();
 
@@ -833,7 +833,7 @@
       return_oop = true;
     }
     safepoint_pc_offset += mcall->ret_addr_offset();
-    debug_info()->add_safepoint(safepoint_pc_offset, mcall->_oop_map);
+    debug_info()->add_safepoint(safepoint_pc_offset, -1, mcall->_oop_map);
   }
 
   // Loop over the JVMState list to add scope information
--- a/src/share/vm/shark/sharkCacheDecache.cpp	Wed Mar 21 11:57:57 2012 +0100
+++ b/src/share/vm/shark/sharkCacheDecache.cpp	Wed Mar 21 13:05:57 2012 +0100
@@ -40,7 +40,7 @@
   _oopmap = new OopMap(
     oopmap_slot_munge(stack()->oopmap_frame_size()),
     oopmap_slot_munge(arg_size()));
-  debug_info()->add_safepoint(pc_offset(), oopmap());
+  debug_info()->add_safepoint(pc_offset(), -1, oopmap());
 }
 
 void SharkDecacher::start_stack(int stack_depth) {