hotspot/src/share/vm/opto/superword.cpp
changeset 33451 0712796e4039
parent 33198 b37ad9fbf681
child 33469 30f4811eded0
--- a/hotspot/src/share/vm/opto/superword.cpp	Tue Oct 20 13:36:20 2015 +0000
+++ b/hotspot/src/share/vm/opto/superword.cpp	Tue Oct 20 18:07:28 2015 +0200
@@ -79,11 +79,12 @@
 #ifndef PRODUCT
   _vector_loop_debug = 0;
   if (_phase->C->method() != NULL) {
-    _phase->C->method()->has_option_value("VectorizeDebug", _vector_loop_debug);
+    _vector_loop_debug = phase->C->directive()->VectorizeDebugOption;
   }
+
   _CountedLoopReserveKit_debug = 0;
   if (_phase->C->method() != NULL) {
-    _phase->C->method()->has_option_value("DoReserveCopyInSuperWordDebug", _CountedLoopReserveKit_debug);
+    _CountedLoopReserveKit_debug = phase->C->directive()->DoReserveCopyInSuperWordDebugOption;
   }
 #endif
 }