comparison src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp @ 1295:3cf667df43ef

6919934: JSR 292 needs to support x86 C1 Summary: This implements JSR 292 support for C1 x86. Reviewed-by: never, jrose, kvn
author twisti
date Tue, 09 Mar 2010 20:16:19 +0100
parents 6b2273dd6fa9
children c18cbe5936b8
comparison
equal deleted inserted replaced
1293:51db1e4b379d 1295:3cf667df43ef
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);