src/share/vm/opto/compile.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 7063628 Cdiff src/share/vm/opto/compile.cpp

src/share/vm/opto/compile.cpp

Print this page

        

*** 515,524 **** --- 515,532 ---- buf.consts()->initialize_shared_locs(&locs_buf[lsize * 0], lsize); buf.insts()->initialize_shared_locs( &locs_buf[lsize * 1], lsize); buf.stubs()->initialize_shared_locs( &locs_buf[lsize * 2], lsize); // Do the emission. + + // Fake label for branch instructions. + Label fakeL; + if (n->is_Branch() && n->as_Mach()->ideal_Opcode() != Op_Jump) { + MacroAssembler masm(&buf); + masm.bind(fakeL); + n->as_Mach()->label_set(fakeL, 0); + } n->emit(buf, this->regalloc()); // End scratch_emit_size section. set_in_scratch_emit_size(false);
src/share/vm/opto/compile.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File