src/cpu/x86/vm/x86_32.ad

changeset 8427
c3d0bd36ab28
parent 8173
faef2a237329
child 8604
04d83ba48607
child 8797
37ba410ffd43
equal deleted inserted replaced
8419:65a0107d52ed 8427:c3d0bd36ab28
1868 } else { 1868 } else {
1869 emit_d32_reloc(cbuf, ($meth$$method - (int)(cbuf.insts_end()) - 4), 1869 emit_d32_reloc(cbuf, ($meth$$method - (int)(cbuf.insts_end()) - 4),
1870 static_call_Relocation::spec(), RELOC_IMM32 ); 1870 static_call_Relocation::spec(), RELOC_IMM32 );
1871 } 1871 }
1872 if (_method) { // Emit stub for static call. 1872 if (_method) { // Emit stub for static call.
1873 CompiledStaticCall::emit_to_interp_stub(cbuf); 1873 address stub = CompiledStaticCall::emit_to_interp_stub(cbuf);
1874 if (stub == NULL) {
1875 ciEnv::current()->record_failure("CodeCache is full");
1876 return;
1877 }
1874 } 1878 }
1875 %} 1879 %}
1876 1880
1877 enc_class Java_Dynamic_Call (method meth) %{ // JAVA DYNAMIC CALL 1881 enc_class Java_Dynamic_Call (method meth) %{ // JAVA DYNAMIC CALL
1878 MacroAssembler _masm(&cbuf); 1882 MacroAssembler _masm(&cbuf);

mercurial