/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/compiler/bytecode-graph-builder.h
56 строк
2 KB
Michaël Zasso
deps: update V8 to 13.6.233.8
02 май 2025, 16:06
Не верифицирован
02 май 2025, 16:06
918fe04
Код
Авторство
О чём код?
// Copyright 2015 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_BYTECODE_GRAPH_BUILDER_H_ #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ #include "src/compiler/js-operator.h" #include "src/compiler/node-observer.h" #include "src/objects/code-kind.h" #include "src/utils/utils.h" namespace v8 { class TickCounter; namespace internal { class BytecodeArray; class FeedbackVector; class SharedFunctionInfo; class Zone; namespace compiler { class JSGraph; class NodeObserver; class SourcePositionTable; class NodeOriginTable; enum class BytecodeGraphBuilderFlag : uint8_t { kSkipFirstStackAndTierupCheck = 1 << 0, // TODO(neis): Remove liveness flag here when concurrent inlining is always // on, because then the serializer will be the only place where we perform // bytecode analysis. kAnalyzeEnvironmentLiveness = 1 << 1, kBailoutOnUninitialized = 1 << 2, }; using BytecodeGraphBuilderFlags = base::Flags<BytecodeGraphBuilderFlag>; // Note: {invocation_frequency} is taken by reference to work around a GCC bug // on AIX (v8:8193). void BuildGraphFromBytecode( JSHeapBroker* broker, Zone* local_zone, SharedFunctionInfoRef shared_info, BytecodeArrayRef bytecode, FeedbackCellRef feedback_cell, BytecodeOffset osr_offset, JSGraph* jsgraph, CallFrequency const& invocation_frequency, SourcePositionTable* source_positions, NodeOriginTable* node_origins, int inlining_id, CodeKind code_kind, BytecodeGraphBuilderFlags flags, TickCounter* tick_counter, ObserveNodeInfo const& observe_node_info = {}); } // namespace compiler } // namespace internal } // namespace v8 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_