diff src/share/vm/opto/loopUnswitch.cpp @ 216:8d191a7697e2

6715633: when matching a memory node the adr_type should not change Summary: verify the adr_type of a mach node was not changed Reviewed-by: rasbold, never
author kvn
date Fri, 20 Jun 2008 11:10:05 -0700
parents a761c2d3b76a
children 9c2ecc2ffb12
line wrap: on
line diff
--- a/src/share/vm/opto/loopUnswitch.cpp	Fri Jun 20 10:17:09 2008 -0700
+++ b/src/share/vm/opto/loopUnswitch.cpp	Fri Jun 20 11:10:05 2008 -0700
@@ -205,7 +205,7 @@
 
   Node *cont      = _igvn.intcon(1);
   set_ctrl(cont, C->root());
-  Node* opq       = new (C, 2) Opaque1Node(cont);
+  Node* opq       = new (C, 2) Opaque1Node(C, cont);
   register_node(opq, outer_loop, entry, dom_depth(entry));
   Node *bol       = new (C, 2) Conv2BNode(opq);
   register_node(bol, outer_loop, entry, dom_depth(entry));