< prev index next >
src/share/vm/adlc/adlparse.cpp
Print this page
@@ -4326,11 +4326,12 @@
// Take note if we see one of a few special operations - those that are
// treated differently on different architectures in the sense that on
// one architecture there is a match rule and on another there isn't (so
// a call will eventually be generated).
- for (int i = _last_machine_leaf + 1; i < _last_opcode; i++) {
+ for (uint i = static_cast<uint>(Opcodes::_last_machine_leaf) + 1;
+ i < static_cast<uint>(Opcodes::_last_opcode); i++) {
if (strcmp(token, NodeClassNames[i]) == 0) {
_AD.has_match_rule(i, true);
}
}
< prev index next >