Mercurial > hg > truffle
comparison src/cpu/sparc/vm/interp_masm_sparc.cpp @ 7183:b2dbd323c668
8003848: Make ConstMethod::generic_signature_index optional and move Method::_max_stack to ConstMethod.
Summary: Make ConstMethod::generic_signature_index optional and move Method::_max_stack to ConstMethod.
Reviewed-by: bdelsart, sspitsyn, coleenp
author | jiangli |
---|---|
date | Tue, 27 Nov 2012 17:03:56 -0500 |
parents | 69fb89ec6fa7 |
children | 5505fbbae3d3 |
comparison
equal
deleted
inserted
replaced
7165:e1d42ba865de | 7183:b2dbd323c668 |
---|---|
521 btst(JVM_ACC_NATIVE, Gframe_size); | 521 btst(JVM_ACC_NATIVE, Gframe_size); |
522 br(Assembler::notZero, false, Assembler::pt, done); | 522 br(Assembler::notZero, false, Assembler::pt, done); |
523 delayed()->nop(); | 523 delayed()->nop(); |
524 | 524 |
525 // Compute max expression stack+register save area | 525 // Compute max expression stack+register save area |
526 lduh(Lmethod, in_bytes(Method::max_stack_offset()), Gframe_size); // Load max stack. | 526 ld_ptr(Lmethod, in_bytes(Method::const_offset()), Gframe_size); |
527 lduh(Gframe_size, in_bytes(ConstMethod::max_stack_offset()), Gframe_size); // Load max stack. | |
527 add( Gframe_size, frame::memory_parameter_word_sp_offset, Gframe_size ); | 528 add( Gframe_size, frame::memory_parameter_word_sp_offset, Gframe_size ); |
528 | 529 |
529 // | 530 // |
530 // now set up a stack frame with the size computed above | 531 // now set up a stack frame with the size computed above |
531 // | 532 // |