equal
deleted
inserted
replaced
26 #include "ci/ciCallSite.hpp" |
26 #include "ci/ciCallSite.hpp" |
27 #include "ci/ciUtilities.hpp" |
27 #include "ci/ciUtilities.hpp" |
28 |
28 |
29 // ciCallSite |
29 // ciCallSite |
30 |
30 |
|
31 bool ciCallSite::is_constant_call_site() { |
|
32 return klass()->is_subclass_of(CURRENT_ENV->ConstantCallSite_klass()); |
|
33 } |
|
34 bool ciCallSite::is_mutable_call_site() { |
|
35 return klass()->is_subclass_of(CURRENT_ENV->MutableCallSite_klass()); |
|
36 } |
|
37 bool ciCallSite::is_volatile_call_site() { |
|
38 return klass()->is_subclass_of(CURRENT_ENV->VolatileCallSite_klass()); |
|
39 } |
|
40 |
31 // ------------------------------------------------------------------ |
41 // ------------------------------------------------------------------ |
32 // ciCallSite::get_target |
42 // ciCallSite::get_target |
33 // |
43 // |
34 // Return the target MethodHandle of this CallSite. |
44 // Return the target MethodHandle of this CallSite. |
35 ciMethodHandle* ciCallSite::get_target() const { |
45 ciMethodHandle* ciCallSite::get_target() const { |