changeset 49189 | 41e570d862b4 |
parent 48826 | c4d9d1b08e2e |
child 49340 | 4e82736053ae |
--- a/src/hotspot/share/interpreter/bytecode.cpp Wed Feb 28 22:38:53 2018 +0100 +++ b/src/hotspot/share/interpreter/bytecode.cpp Thu Mar 01 08:58:27 2018 +0100 @@ -123,6 +123,11 @@ assert(cpcache() != NULL, "do not call this from verifier or rewriter"); } +int Bytecode_invoke::size_of_parameters() const { + ArgumentSizeComputer asc(signature()); + return asc.size() + (has_receiver() ? 1 : 0); +} + Symbol* Bytecode_member_ref::klass() const { return constants()->klass_ref_at_noresolve(index());