hotspot/src/share/vm/shark/sharkCompiler.cpp
changeset 33451 0712796e4039
parent 23196 7fb201976e8b
child 33626 3c94db05e903
--- a/hotspot/src/share/vm/shark/sharkCompiler.cpp	Tue Oct 20 13:36:20 2015 +0000
+++ b/hotspot/src/share/vm/shark/sharkCompiler.cpp	Tue Oct 20 18:07:28 2015 +0200
@@ -145,7 +145,8 @@
 
 void SharkCompiler::compile_method(ciEnv*    env,
                                    ciMethod* target,
-                                   int       entry_bci) {
+                                   int       entry_bci,
+                                   DirectiveSet* directive) {
   assert(is_initialized(), "should be");
   ResourceMark rm;
   const char *name = methodname(
@@ -216,8 +217,8 @@
                        &handler_table,
                        &inc_table,
                        this,
-                       env->comp_level(),
                        false,
+                       directive(),
                        false);
 }