src/share/vm/opto/compile.cpp

changeset 8427
c3d0bd36ab28
parent 8316
626f594dffa6
child 8428
099bdbf208bc
equal deleted inserted replaced
8419:65a0107d52ed 8427:c3d0bd36ab28
606 masm.bind(fakeL); 606 masm.bind(fakeL);
607 n->as_MachBranch()->save_label(&saveL, &save_bnum); 607 n->as_MachBranch()->save_label(&saveL, &save_bnum);
608 n->as_MachBranch()->label_set(&fakeL, 0); 608 n->as_MachBranch()->label_set(&fakeL, 0);
609 } 609 }
610 n->emit(buf, this->regalloc()); 610 n->emit(buf, this->regalloc());
611
612 // Emitting into the scratch buffer should not fail
613 assert (!failing(), err_msg_res("Must not have pending failure. Reason is: %s", failure_reason()));
614
611 if (is_branch) // Restore label. 615 if (is_branch) // Restore label.
612 n->as_MachBranch()->label_set(saveL, save_bnum); 616 n->as_MachBranch()->label_set(saveL, save_bnum);
613 617
614 // End scratch_emit_size section. 618 // End scratch_emit_size section.
615 set_in_scratch_emit_size(false); 619 set_in_scratch_emit_size(false);

mercurial