diff options
author | kvn <none@none> | 2014-05-16 12:05:14 -0700 |
---|---|---|
committer | kvn <none@none> | 2014-05-16 12:05:14 -0700 |
commit | 4fd57bfadbf2915dccb761077cc30acc476a22e8 (patch) | |
tree | db031a07415c37d0cdb7d9200499cf866ed73fa3 /src/share/vm/opto/ifnode.cpp | |
parent | 79e3de9408b4bada6596dbedd5e43ce22fab54da (diff) |
8042786: Proper fix for 8032566
Summary: Check for overflow cases in range checks and collapse it if we can.
Reviewed-by: jrose, iveresov
Diffstat (limited to 'src/share/vm/opto/ifnode.cpp')
-rw-r--r-- | src/share/vm/opto/ifnode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/ifnode.cpp b/src/share/vm/opto/ifnode.cpp index 1c9dbb708..587c3b8c8 100644 --- a/src/share/vm/opto/ifnode.cpp +++ b/src/share/vm/opto/ifnode.cpp @@ -673,7 +673,7 @@ const TypeInt* IfNode::filtered_int_type(PhaseGVN* gvn, Node *val, Node* if_proj // / Region // Node* IfNode::fold_compares(PhaseGVN* phase) { - if (!phase->C->eliminate_boxing() || Opcode() != Op_If) return NULL; + if (Opcode() != Op_If) return NULL; Node* this_cmp = in(1)->in(1); if (this_cmp != NULL && this_cmp->Opcode() == Op_CmpI && |