hotspot/src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp
changeset 5046 27e801a857cb
parent 2571 d602ad6538bd
child 5547 f4b087cbb361
equal deleted inserted replaced
5044:7e40acdf2163 5046:27e801a857cb
     1 /*
     1 /*
     2  * Copyright 1999-2009 Sun Microsystems, Inc.  All Rights Reserved.
     2  * Copyright 1999-2010 Sun Microsystems, Inc.  All Rights Reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   375     relocInfo::change_reloc_info_for_address(&iter2, (address) pc, relocInfo::oop_type, relocInfo::none);
   375     relocInfo::change_reloc_info_for_address(&iter2, (address) pc, relocInfo::oop_type, relocInfo::none);
   376   }
   376   }
   377 
   377 
   378 }
   378 }
   379 
   379 
       
   380 
       
   381 void DeoptimizeStub::emit_code(LIR_Assembler* ce) {
       
   382   __ bind(_entry);
       
   383   __ call(SharedRuntime::deopt_blob()->unpack_with_reexecution());
       
   384   __ delayed()->nop();
       
   385   ce->add_call_info_here(_info);
       
   386   debug_only(__ should_not_reach_here());
       
   387 }
       
   388 
       
   389 
   380 void ArrayCopyStub::emit_code(LIR_Assembler* ce) {
   390 void ArrayCopyStub::emit_code(LIR_Assembler* ce) {
   381   //---------------slow case: call to native-----------------
   391   //---------------slow case: call to native-----------------
   382   __ bind(_entry);
   392   __ bind(_entry);
   383   __ mov(src()->as_register(),     O0);
   393   __ mov(src()->as_register(),     O0);
   384   __ mov(src_pos()->as_register(), O1);
   394   __ mov(src_pos()->as_register(), O1);