equal
deleted
inserted
replaced
329 cmp_klass(receiver, iCache, rscratch1); |
329 cmp_klass(receiver, iCache, rscratch1); |
330 } |
330 } |
331 |
331 |
332 |
332 |
333 void C1_MacroAssembler::build_frame(int framesize, int bang_size_in_bytes) { |
333 void C1_MacroAssembler::build_frame(int framesize, int bang_size_in_bytes) { |
334 // If we have to make this method not-entrant we'll overwrite its |
|
335 // first instruction with a jump. For this action to be legal we |
|
336 // must ensure that this first instruction is a B, BL, NOP, BKPT, |
|
337 // SVC, HVC, or SMC. Make it a NOP. |
|
338 nop(); |
|
339 assert(bang_size_in_bytes >= framesize, "stack bang size incorrect"); |
334 assert(bang_size_in_bytes >= framesize, "stack bang size incorrect"); |
340 // Make sure there is enough stack space for this method's activation. |
335 // Make sure there is enough stack space for this method's activation. |
341 // Note that we do this before doing an enter(). |
336 // Note that we do this before doing an enter(). |
342 generate_stack_overflow_check(bang_size_in_bytes); |
337 generate_stack_overflow_check(bang_size_in_bytes); |
343 MacroAssembler::build_frame(framesize + 2 * wordSize); |
338 MacroAssembler::build_frame(framesize + 2 * wordSize); |
353 } |
348 } |
354 } |
349 } |
355 |
350 |
356 |
351 |
357 void C1_MacroAssembler::verified_entry() { |
352 void C1_MacroAssembler::verified_entry() { |
|
353 // If we have to make this method not-entrant we'll overwrite its |
|
354 // first instruction with a jump. For this action to be legal we |
|
355 // must ensure that this first instruction is a B, BL, NOP, BKPT, |
|
356 // SVC, HVC, or SMC. Make it a NOP. |
|
357 nop(); |
358 } |
358 } |
359 |
359 |
360 void C1_MacroAssembler::load_parameter(int offset_in_words, Register reg) { |
360 void C1_MacroAssembler::load_parameter(int offset_in_words, Register reg) { |
361 // rbp, + 0: link |
361 // rbp, + 0: link |
362 // + 1: return address |
362 // + 1: return address |