#ifndef V8_COMPILER_TURBOFAN_H_
#define V8_COMPILER_TURBOFAN_H_
#include <memory>
#include "src/base/macros.h"
#include "src/utils/utils.h"
namespace v8 {
namespace internal {
class Isolate;
class JSFunction;
class TurbofanCompilationJob;
namespace compiler {
enum class IsScriptAvailable { … };
V8_EXPORT_PRIVATE std::unique_ptr<TurbofanCompilationJob> NewCompilationJob(
Isolate* isolate, Handle<JSFunction> function, IsScriptAvailable has_script,
BytecodeOffset osr_offset = BytecodeOffset::None());
}
}
}
#endif