src/hotspot/share/code/dependencies.hpp
changeset 55298 1fe17d2be502
parent 54734 e8f1b9fc82cc
child 55635 0fb70c9118ce
equal deleted inserted replaced
55297:fd61ef6c4091 55298:1fe17d2be502
   371   static void check_ctxk_abstract(Klass* ctxk) {
   371   static void check_ctxk_abstract(Klass* ctxk) {
   372     check_ctxk(ctxk);
   372     check_ctxk(ctxk);
   373     assert(ctxk->is_abstract(), "must be abstract");
   373     assert(ctxk->is_abstract(), "must be abstract");
   374   }
   374   }
   375   static void check_unique_method(Klass* ctxk, Method* m) {
   375   static void check_unique_method(Klass* ctxk, Method* m) {
   376     // Graal can register redundant dependencies
   376     assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
   377     assert(UseJVMCICompiler || !m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant");
       
   378   }
   377   }
   379 
   378 
   380   void assert_common_1(DepType dept, DepValue x);
   379   void assert_common_1(DepType dept, DepValue x);
   381   void assert_common_2(DepType dept, DepValue x0, DepValue x1);
   380   void assert_common_2(DepType dept, DepValue x0, DepValue x1);
   382 
   381