equal
deleted
inserted
replaced
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; |