// Copyright 2019 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_COMPILER_COMPILATION_DEPENDENCY_H_#define V8_COMPILER_COMPILATION_DEPENDENCY_H_#include "src/zone/zone.h"namespacev8{namespaceinternal{classMaybeObjectHandle;namespacecompiler{classCompilationDependency:publicZoneObject{public:virtualboolIsValid()const=0;virtualvoidPrepareInstall()const{}virtualvoidInstall(constMaybeObjectHandle&code)const=0;#ifdef DEBUGvirtualboolIsPretenureModeDependency()const{returnfalse;}#endif};}// namespace compiler}// namespace internal}// namespace v8#endif // V8_COMPILER_COMPILATION_DEPENDENCY_H_