mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8140274: methodHandles and constantPoolHandles should be passed as const references
Modified code to use const reference parameters Reviewed-by: sspitsyn, twisti
This commit is contained in:
parent
686fb800c8
commit
f1e89ea4cc
111 changed files with 521 additions and 515 deletions
|
@ -60,7 +60,7 @@
|
|||
|
||||
#define C2V_END }
|
||||
|
||||
oop CompilerToVM::get_jvmci_method(methodHandle method, TRAPS) {
|
||||
oop CompilerToVM::get_jvmci_method(const methodHandle& method, TRAPS) {
|
||||
if (method() != NULL) {
|
||||
JavaValue result(T_OBJECT);
|
||||
JavaCallArguments args;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue