Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/loopopts.cpp @ 17887:cd3c534f8f4a
8039050: Crash in C2 compiler at Node::rematerialize
Summary: Added missing calls to record_for_igvn() in loop opts. Added verification of def-use domination.
Reviewed-by: iveresov
author | kvn |
---|---|
date | Tue, 15 Apr 2014 14:34:48 -0700 |
parents | 085b304a1cc5 |
children | ad51f24671c2 |
comparison
equal
deleted
inserted
replaced
17886:7e6c20c85ccf | 17887:cd3c534f8f4a |
---|---|
2696 recompute_dom_depth(); | 2696 recompute_dom_depth(); |
2697 | 2697 |
2698 // Inhibit more partial peeling on this loop | 2698 // Inhibit more partial peeling on this loop |
2699 new_head_clone->set_partial_peel_loop(); | 2699 new_head_clone->set_partial_peel_loop(); |
2700 C->set_major_progress(); | 2700 C->set_major_progress(); |
2701 loop->record_for_igvn(); | |
2701 | 2702 |
2702 #if !defined(PRODUCT) | 2703 #if !defined(PRODUCT) |
2703 if (TracePartialPeeling) { | 2704 if (TracePartialPeeling) { |
2704 tty->print_cr("\nafter partial peel one iteration"); | 2705 tty->print_cr("\nafter partial peel one iteration"); |
2705 Node_List wl(area); | 2706 Node_List wl(area); |