comparison src/share/vm/ci/ciCallSite.cpp @ 2357:8033953d67ff

7012648: move JSR 292 to package java.lang.invoke and adjust names Summary: package and class renaming only; delete unused methods and classes Reviewed-by: twisti
author jrose
date Fri, 11 Mar 2011 22:34:57 -0800
parents f95d63e2154a
children fdb992d83a87
comparison
equal deleted inserted replaced
2356:72dee110246f 2357:8033953d67ff
1 /* 1 /*
2 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2009, 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.
32 // ciCallSite::get_target 32 // ciCallSite::get_target
33 // 33 //
34 // Return the target MethodHandle of this CallSite. 34 // Return the target MethodHandle of this CallSite.
35 ciMethodHandle* ciCallSite::get_target() const { 35 ciMethodHandle* ciCallSite::get_target() const {
36 VM_ENTRY_MARK; 36 VM_ENTRY_MARK;
37 oop method_handle_oop = java_dyn_CallSite::target(get_oop()); 37 oop method_handle_oop = java_lang_invoke_CallSite::target(get_oop());
38 return CURRENT_ENV->get_object(method_handle_oop)->as_method_handle(); 38 return CURRENT_ENV->get_object(method_handle_oop)->as_method_handle();
39 } 39 }
40 40
41 // ------------------------------------------------------------------ 41 // ------------------------------------------------------------------
42 // ciCallSite::print 42 // ciCallSite::print