1 /* 2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 * 6 * This code is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 only, as 8 * published by the Free Software Foundation. 9 * 10 * This code is distributed in the hope that it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * version 2 for more details (a copy is included in the LICENSE file that 14 * accompanied this code). 15 * 16 * You should have received a copy of the GNU General Public License version 17 * 2 along with this work; if not, write to the Free Software Foundation, 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 * 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 * 24 */ 25 26 #include "incls/_precompiled.incl" 27 #include "incls/_sharedRuntime_zero.cpp.incl" 28 29 DeoptimizationBlob *SharedRuntime::_deopt_blob; 30 SafepointBlob *SharedRuntime::_polling_page_safepoint_handler_blob; 31 SafepointBlob *SharedRuntime::_polling_page_return_handler_blob; 32 RuntimeStub *SharedRuntime::_wrong_method_blob; 33 RuntimeStub *SharedRuntime::_ic_miss_blob; 34 RuntimeStub *SharedRuntime::_resolve_opt_virtual_call_blob; 35 RuntimeStub *SharedRuntime::_resolve_virtual_call_blob; 36 RuntimeStub *SharedRuntime::_resolve_static_call_blob; 37 38 int SharedRuntime::java_calling_convention(const BasicType *sig_bt, 39 VMRegPair *regs, 40 int total_args_passed, 41 int is_outgoing) { 42 return 0; 43 } 44 45 AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters( 46 MacroAssembler *masm, 47 int total_args_passed, | 1 /* 2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 * 6 * This code is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License version 2 only, as 8 * published by the Free Software Foundation. 9 * 10 * This code is distributed in the hope that it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * version 2 for more details (a copy is included in the LICENSE file that 14 * accompanied this code). 15 * 16 * You should have received a copy of the GNU General Public License version 17 * 2 along with this work; if not, write to the Free Software Foundation, 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 * 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 * 24 */ 25 26 #include "precompiled.hpp" 27 #include "asm/assembler.hpp" 28 #include "assembler_zero.inline.hpp" 29 #include "code/debugInfoRec.hpp" 30 #include "code/icBuffer.hpp" 31 #include "code/vtableStubs.hpp" 32 #include "interpreter/interpreter.hpp" 33 #include "oops/compiledICHolderOop.hpp" 34 #include "prims/jvmtiRedefineClassesTrace.hpp" 35 #include "runtime/sharedRuntime.hpp" 36 #include "runtime/vframeArray.hpp" 37 #include "vmreg_zero.inline.hpp" 38 #ifdef COMPILER1 39 #include "c1/c1_Runtime1.hpp" 40 #endif 41 #ifdef COMPILER2 42 #include "opto/runtime.hpp" 43 #endif 44 #ifdef SHARK 45 #include "compiler/compileBroker.hpp" 46 #include "shark/sharkCompiler.hpp" 47 #endif 48 49 DeoptimizationBlob *SharedRuntime::_deopt_blob; 50 SafepointBlob *SharedRuntime::_polling_page_safepoint_handler_blob; 51 SafepointBlob *SharedRuntime::_polling_page_return_handler_blob; 52 RuntimeStub *SharedRuntime::_wrong_method_blob; 53 RuntimeStub *SharedRuntime::_ic_miss_blob; 54 RuntimeStub *SharedRuntime::_resolve_opt_virtual_call_blob; 55 RuntimeStub *SharedRuntime::_resolve_virtual_call_blob; 56 RuntimeStub *SharedRuntime::_resolve_static_call_blob; 57 58 int SharedRuntime::java_calling_convention(const BasicType *sig_bt, 59 VMRegPair *regs, 60 int total_args_passed, 61 int is_outgoing) { 62 return 0; 63 } 64 65 AdapterHandlerEntry* SharedRuntime::generate_i2c2i_adapters( 66 MacroAssembler *masm, 67 int total_args_passed, |