Mercurial > hg > truffle
diff src/share/vm/opto/loopTransform.cpp @ 14422:2b8e28fdf503
Merge
author | kvn |
---|---|
date | Tue, 05 Nov 2013 17:38:04 -0800 |
parents | cfd05ec74089 60a32bb8ff99 |
children | da862781b584 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopTransform.cpp Wed Oct 16 10:52:41 2013 +0200 +++ b/src/share/vm/opto/loopTransform.cpp Tue Nov 05 17:38:04 2013 -0800 @@ -713,6 +713,10 @@ case Op_ModL: body_size += 30; break; case Op_DivL: body_size += 30; break; case Op_MulL: body_size += 10; break; + case Op_FlagsProj: + // Can't handle unrolling of loops containing + // nodes that generate a FlagsProj at the moment + return false; case Op_StrComp: case Op_StrEquals: case Op_StrIndexOf: @@ -776,6 +780,9 @@ continue; // not RC Node *cmp = bol->in(1); + if (cmp->is_FlagsProj()) { + continue; + } Node *rc_exp = cmp->in(1); Node *limit = cmp->in(2);