// Copyright 2022 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_MAGLEV_MAGLEV_COMPILATION_UNIT_H_ #define V8_MAGLEV_MAGLEV_COMPILATION_UNIT_H_ #include "src/common/globals.h" #include "src/compiler/bytecode-analysis.h" #include "src/compiler/heap-refs.h" namespace v8 { namespace internal { namespace maglev { enum class ValueRepresentation : uint8_t; class MaglevCompilationInfo; class MaglevGraphLabeller; class Node; // Per-unit data, i.e. once per top-level function and once per inlined // function. class MaglevCompilationUnit : public ZoneObject { … }; } // namespace maglev } // namespace internal } // namespace v8 #endif // V8_MAGLEV_MAGLEV_COMPILATION_UNIT_H_