8073480: C2 should optimize explicit range checks

Explicit range checks should be recognized by C2

Reviewed-by: kvn, vlivanov
This commit is contained in:
Roland Westrelin 2015-03-17 10:06:31 +01:00
parent f51a895f42
commit 71e31ee0b9
16 changed files with 1174 additions and 147 deletions

View file

@ -2513,6 +2513,7 @@ typedef CompactHashtable<Symbol*, char> SymbolCompactHashTable;
declare_constant(Deoptimization::Reason_speculate_null_check) \
declare_constant(Deoptimization::Reason_rtm_state_change) \
declare_constant(Deoptimization::Reason_unstable_if) \
declare_constant(Deoptimization::Reason_unstable_fused_if) \
declare_constant(Deoptimization::Reason_tenured) \
declare_constant(Deoptimization::Reason_LIMIT) \
declare_constant(Deoptimization::Reason_RECORDED_LIMIT) \