mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8258075: Use auto variable declarations for enum iteration
Reviewed-by: jrose, ccheung
This commit is contained in:
parent
330ce86123
commit
59f4c4aad5
6 changed files with 16 additions and 16 deletions
|
@ -5302,7 +5302,7 @@ static void check_methods_for_intrinsics(const InstanceKlass* ik,
|
|||
// The check is potentially expensive, therefore it is available
|
||||
// only in debug builds.
|
||||
|
||||
for (vmIntrinsicID id : EnumRange<vmIntrinsicID>{}) {
|
||||
for (auto id : EnumRange<vmIntrinsicID>{}) {
|
||||
if (vmIntrinsics::_compiledLambdaForm == id) {
|
||||
// The _compiledLamdbdaForm intrinsic is a special marker for bytecode
|
||||
// generated for the JVM from a LambdaForm and therefore no method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue