< prev index next >

src/share/vm/opto/node.cpp

Print this page

        

@@ -45,10 +45,14 @@
 const uint Node::NotAMachineReg = 0xffff0000;
 
 #ifndef PRODUCT
 extern int nodes_created;
 #endif
+#ifdef __clang__
+#pragma clang diagnostic push
+#pragma GCC diagnostic ignored "-Wuninitialized"
+#endif
 
 #ifdef ASSERT
 
 //-------------------------- construct_node------------------------------------
 // Set a breakpoint here to identify where a particular node index is built.

@@ -454,10 +458,14 @@
   _in[4] = n4; if (n4 != NULL) n4->add_out((Node *)this);
   _in[5] = n5; if (n5 != NULL) n5->add_out((Node *)this);
   _in[6] = n6; if (n6 != NULL) n6->add_out((Node *)this);
 }
 
+#ifdef __clang__
+#pragma clang diagnostic pop
+#endif
+
 
 //------------------------------clone------------------------------------------
 // Clone a Node.
 Node *Node::clone() const {
   Compile* C = Compile::current();
< prev index next >