comparison src/share/vm/c1/c1_GraphBuilder.hpp @ 8860:46f6f063b272

7153771: array bound check elimination for c1 Summary: when possible optimize out array bound checks, inserting predicates when needed. Reviewed-by: never, kvn, twisti Contributed-by: thomaswue <thomas.wuerthinger@oracle.com>
author roland
date Thu, 21 Mar 2013 09:27:54 +0100
parents d804e148cff8
children d13d7aba8c12
comparison
equal deleted inserted replaced
8780:98f3af397705 8860:46f6f063b272
299 ValueStack* copy_state_before(); 299 ValueStack* copy_state_before();
300 ValueStack* copy_state_exhandling_with_bci(int bci); 300 ValueStack* copy_state_exhandling_with_bci(int bci);
301 ValueStack* copy_state_exhandling(); 301 ValueStack* copy_state_exhandling();
302 ValueStack* copy_state_for_exception_with_bci(int bci); 302 ValueStack* copy_state_for_exception_with_bci(int bci);
303 ValueStack* copy_state_for_exception(); 303 ValueStack* copy_state_for_exception();
304 ValueStack* copy_state_if_bb(bool is_bb) { return (is_bb || compilation()->is_optimistic()) ? copy_state_before() : NULL; }
305 ValueStack* copy_state_indexed_access() { return compilation()->is_optimistic() ? copy_state_before() : copy_state_for_exception(); }
304 306
305 // 307 //
306 // Inlining support 308 // Inlining support
307 // 309 //
308 310