1 /* |
1 /* |
2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2003-2009 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. |
292 |
292 |
293 return entry_point; |
293 return entry_point; |
294 } |
294 } |
295 |
295 |
296 |
296 |
|
297 // Method handle invoker |
|
298 // Dispatch a method of the form java.dyn.MethodHandles::invoke(...) |
|
299 address InterpreterGenerator::generate_method_handle_entry(void) { |
|
300 if (!EnableMethodHandles) { |
|
301 return generate_abstract_entry(); |
|
302 } |
|
303 return generate_abstract_entry(); //6815692// |
|
304 } |
|
305 |
|
306 |
297 // Empty method, generate a very fast return. |
307 // Empty method, generate a very fast return. |
298 |
308 |
299 address InterpreterGenerator::generate_empty_entry(void) { |
309 address InterpreterGenerator::generate_empty_entry(void) { |
300 // rbx: methodOop |
310 // rbx: methodOop |
301 // r13: sender sp must set sp to this value on return |
311 // r13: sender sp must set sp to this value on return |