hotspot/src/share/vm/ci/ciCallSite.cpp
changeset 8676 9098d4e927e1
parent 7397 5b173b4ca846
child 10265 4c869854aebd
equal deleted inserted replaced
8675:e9fef2a9bef7 8676:9098d4e927e1
     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