We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59378a1 commit 13fe054Copy full SHA for 13fe054
src/hotspot/share/c1/c1_LinearScan.cpp
@@ -5436,7 +5436,7 @@ bool LinearScanWalker::alloc_free_reg(Interval* cur) {
5436
hint_reg = register_hint->assigned_reg();
5437
hint_regHi = register_hint->assigned_regHi();
5438
5439
- if (allocator()->is_precolored_cpu_interval(register_hint)) {
+ if (_num_phys_regs == 2 && allocator()->is_precolored_cpu_interval(register_hint)) {
5440
assert(hint_reg != any_reg && hint_regHi == any_reg, "must be for fixed intervals");
5441
hint_regHi = hint_reg + 1; // connect e.g. eax-edx
5442
}
0 commit comments