equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2011, Oracle and/or its affiliates. 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. |
316 return entry_point; |
316 return entry_point; |
317 } |
317 } |
318 |
318 |
319 |
319 |
320 // Method handle invoker |
320 // Method handle invoker |
321 // Dispatch a method of the form java.dyn.MethodHandles::invoke(...) |
321 // Dispatch a method of the form java.lang.invoke.MethodHandles::invoke(...) |
322 address InterpreterGenerator::generate_method_handle_entry(void) { |
322 address InterpreterGenerator::generate_method_handle_entry(void) { |
323 if (!EnableMethodHandles) { |
323 if (!EnableMethodHandles) { |
324 return generate_abstract_entry(); |
324 return generate_abstract_entry(); |
325 } |
325 } |
326 |
326 |