equal
deleted
inserted
replaced
305 |
305 |
306 bool CompilerOracle::should_print(methodHandle method) { |
306 bool CompilerOracle::should_print(methodHandle method) { |
307 return (check_predicate(PrintCommand, method)); |
307 return (check_predicate(PrintCommand, method)); |
308 } |
308 } |
309 |
309 |
|
310 bool CompilerOracle::should_print_methods() { |
|
311 return lists[PrintCommand] != NULL; |
|
312 } |
310 |
313 |
311 bool CompilerOracle::should_log(methodHandle method) { |
314 bool CompilerOracle::should_log(methodHandle method) { |
312 if (!LogCompilation) return false; |
315 if (!LogCompilation) return false; |
313 if (lists[LogCommand] == NULL) return true; // by default, log all |
316 if (lists[LogCommand] == NULL) return true; // by default, log all |
314 return (check_predicate(LogCommand, method)); |
317 return (check_predicate(LogCommand, method)); |