equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. |
3 * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
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 |
7 * under the terms of the GNU General Public License version 2 only, as |
8 * published by the Free Software Foundation. |
8 * published by the Free Software Foundation. |
76 ShouldNotCallThisStub()); |
76 ShouldNotCallThisStub()); |
77 } |
77 } |
78 |
78 |
79 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm, |
79 nmethod *SharedRuntime::generate_native_wrapper(MacroAssembler *masm, |
80 methodHandle method, |
80 methodHandle method, |
81 int total_in_args, |
81 int compile_id, |
82 int comp_args_on_stack, |
82 int total_args_passed, |
83 BasicType *in_sig_bt, |
83 int max_arg, |
84 VMRegPair *in_regs, |
84 BasicType *sig_bt, |
|
85 VMRegPair *regs, |
85 BasicType ret_type) { |
86 BasicType ret_type) { |
86 #ifdef SHARK |
87 #ifdef SHARK |
87 return SharkCompiler::compiler()->generate_native_wrapper(masm, |
88 return SharkCompiler::compiler()->generate_native_wrapper(masm, |
88 method, |
89 method, |
89 in_sig_bt, |
90 compile_id, |
|
91 sig_bt, |
90 ret_type); |
92 ret_type); |
91 #else |
93 #else |
92 ShouldNotCallThis(); |
94 ShouldNotCallThis(); |
93 #endif // SHARK |
95 #endif // SHARK |
94 } |
96 } |