Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/regalloc.cpp @ 14437:15120a36272d
8028767: PPC64: (part 121): smaller shared changes needed to build C2
Summary: smaller shared changes required to build the C2 compiler on PPC64.
Reviewed-by: kvn
author | goetz |
---|---|
date | Thu, 21 Nov 2013 19:00:57 -0800 |
parents | a7114d3d712e |
children | abec000618bf |
comparison
equal
deleted
inserted
replaced
14436:b0133e4187d3 | 14437:15120a36272d |
---|---|
75 // Not allowed in the out-preserve area. | 75 // Not allowed in the out-preserve area. |
76 // In-preserve area is allowed so Intel can fetch the return pc out. | 76 // In-preserve area is allowed so Intel can fetch the return pc out. |
77 assert( reg < _matcher._old_SP || | 77 assert( reg < _matcher._old_SP || |
78 (reg >= OptoReg::add(_matcher._old_SP,C->out_preserve_stack_slots()) && | 78 (reg >= OptoReg::add(_matcher._old_SP,C->out_preserve_stack_slots()) && |
79 reg < _matcher._in_arg_limit) || | 79 reg < _matcher._in_arg_limit) || |
80 reg >= OptoReg::add(_matcher._new_SP,C->out_preserve_stack_slots()), | 80 reg >= OptoReg::add(_matcher._new_SP, C->out_preserve_stack_slots()) || |
81 // Allow return_addr in the out-preserve area. | |
82 reg == _matcher.return_addr(), | |
81 "register allocated in a preserve area" ); | 83 "register allocated in a preserve area" ); |
82 return reg2offset_unchecked( reg ); | 84 return reg2offset_unchecked( reg ); |
83 } | 85 } |
84 | 86 |
85 //------------------------------offset2reg------------------------------------- | 87 //------------------------------offset2reg------------------------------------- |