src/hotspot/cpu/sparc/compiledIC_sparc.cpp
changeset 48487 abf1d797e380
parent 47216 71c04702a3d5
child 48807 fd8ccb37fce9
equal deleted inserted replaced
48486:bda5211e7876 48487:abf1d797e380
    70   // Update current stubs pointer and restore code_end.
    70   // Update current stubs pointer and restore code_end.
    71   __ end_a_stub();
    71   __ end_a_stub();
    72   return base;
    72   return base;
    73 }
    73 }
    74 #undef __
    74 #undef __
       
    75 
       
    76 int CompiledStaticCall::to_trampoline_stub_size() {
       
    77   // SPARC doesn't use trampolines.
       
    78   return 0;
       
    79 }
    75 
    80 
    76 int CompiledStaticCall::to_interp_stub_size() {
    81 int CompiledStaticCall::to_interp_stub_size() {
    77   // This doesn't need to be accurate but it must be larger or equal to
    82   // This doesn't need to be accurate but it must be larger or equal to
    78   // the real size of the stub.
    83   // the real size of the stub.
    79   return (NativeMovConstReg::instruction_size +  // sethi/setlo;
    84   return (NativeMovConstReg::instruction_size +  // sethi/setlo;