Flutter Engine
The Flutter Engine
print_filter.h
Go to the documentation of this file.
1// Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#ifndef RUNTIME_VM_COMPILER_API_PRINT_FILTER_H_
6#define RUNTIME_VM_COMPILER_API_PRINT_FILTER_H_
7
8#include "platform/globals.h" // For INCLUDE_IL_PRINTER
9
10#if defined(INCLUDE_IL_PRINTER)
11
12#include "platform/allocation.h"
13
14namespace dart {
15
16class Function;
17
18namespace compiler {
19
20class PrintFilter : public AllStatic {
21 public:
22 static bool ShouldPrint(const Function& function,
23 uint8_t** compiler_pass_filter = nullptr);
24};
25
26} // namespace compiler
27
28} // namespace dart
29
30#endif // defined(INCLUDE_IL_PRINTER)
31#endif // RUNTIME_VM_COMPILER_API_PRINT_FILTER_H_
Dart_NativeFunction function
Definition: fuchsia.cc:51
Definition: dart_vm.cc:33