mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +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
|
@ -306,7 +306,7 @@ void MethodMatcher::parse_method_pattern(char*& line, const char*& error_msg, Me
|
|||
}
|
||||
}
|
||||
|
||||
bool MethodMatcher::matches(methodHandle method) const {
|
||||
bool MethodMatcher::matches(const methodHandle& method) const {
|
||||
Symbol* class_name = method->method_holder()->name();
|
||||
Symbol* method_name = method->name();
|
||||
Symbol* signature = method->signature();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue