equal
deleted
inserted
replaced
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 assert(!m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant"); |
376 // Graal can register redundant dependencies |
|
377 assert(UseJVMCICompiler || !m->can_be_statically_bound(InstanceKlass::cast(ctxk)), "redundant"); |
377 } |
378 } |
378 |
379 |
379 void assert_common_1(DepType dept, DepValue x); |
380 void assert_common_1(DepType dept, DepValue x); |
380 void assert_common_2(DepType dept, DepValue x0, DepValue x1); |
381 void assert_common_2(DepType dept, DepValue x0, DepValue x1); |
381 |
382 |