src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp
changeset 51629 78c7f0c7827d
parent 50380 bec342339138
child 51857 9978fea8a371
--- a/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp	Tue Sep 04 13:19:38 2018 +0200
+++ b/src/hotspot/cpu/ppc/c1_LIRAssembler_ppc.cpp	Tue Sep 04 11:46:23 2018 -0400
@@ -2396,8 +2396,8 @@
     if (reg_conflict) { obj = dst; }
   }
 
-  ciMethodData* md;
-  ciProfileData* data;
+  ciMethodData* md = NULL;
+  ciProfileData* data = NULL;
   int mdo_offset_bias = 0;
   if (should_profile) {
     ciMethod* method = op->profiled_method();
@@ -2514,8 +2514,8 @@
     __ verify_oop(value);
     CodeStub* stub = op->stub();
     // Check if it needs to be profiled.
-    ciMethodData* md;
-    ciProfileData* data;
+    ciMethodData* md = NULL;
+    ciProfileData* data = NULL;
     int mdo_offset_bias = 0;
     if (should_profile) {
       ciMethod* method = op->profiled_method();