mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
7153771: array bound check elimination for c1
When possible optimize out array bound checks, inserting predicates when needed. Reviewed-by: never, kvn, twisti
This commit is contained in:
parent
2f4ecb86a2
commit
06ef4cddf7
40 changed files with 2861 additions and 153 deletions
|
@ -301,6 +301,8 @@ class GraphBuilder VALUE_OBJ_CLASS_SPEC {
|
|||
ValueStack* copy_state_exhandling();
|
||||
ValueStack* copy_state_for_exception_with_bci(int bci);
|
||||
ValueStack* copy_state_for_exception();
|
||||
ValueStack* copy_state_if_bb(bool is_bb) { return (is_bb || compilation()->is_optimistic()) ? copy_state_before() : NULL; }
|
||||
ValueStack* copy_state_indexed_access() { return compilation()->is_optimistic() ? copy_state_before() : copy_state_for_exception(); }
|
||||
|
||||
//
|
||||
// Inlining support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue