equal
deleted
inserted
replaced
177 // %%% adjust wci_result->size()? |
177 // %%% adjust wci_result->size()? |
178 } |
178 } |
179 |
179 |
180 return NULL; |
180 return NULL; |
181 } |
181 } |
|
182 |
|
183 // Always inline MethodHandle methods. |
|
184 if (callee_method->is_method_handle_invoke()) |
|
185 return NULL; |
182 |
186 |
183 // First check all inlining restrictions which are required for correctness |
187 // First check all inlining restrictions which are required for correctness |
184 if (callee_method->is_abstract()) return "abstract method"; |
188 if (callee_method->is_abstract()) return "abstract method"; |
185 // note: we allow ik->is_abstract() |
189 // note: we allow ik->is_abstract() |
186 if (!callee_method->holder()->is_initialized()) return "method holder not initialized"; |
190 if (!callee_method->holder()->is_initialized()) return "method holder not initialized"; |