chromium/v8/src/torque/cfg.cc

// Copyright 2018 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.

#include "src/torque/cfg.h"

#include <optional>

#include "src/torque/type-oracle.h"

namespace v8::internal::torque {

void Block::SetInputTypes(const Stack<const Type*>& input_types) {}

void CfgAssembler::Bind(Block* block) {}

void CfgAssembler::Goto(Block* block) {}

StackRange CfgAssembler::Goto(Block* block, size_t preserved_slots) {}

void CfgAssembler::Branch(Block* if_true, Block* if_false) {}

// Delete the specified range of slots, moving upper slots to fill the gap.
void CfgAssembler::DeleteRange(StackRange range) {}

void CfgAssembler::DropTo(BottomOffset new_level) {}

StackRange CfgAssembler::Peek(StackRange range,
                              std::optional<const Type*> type) {}

void CfgAssembler::Poke(StackRange destination, StackRange origin,
                        std::optional<const Type*> type) {}

void CfgAssembler::Print(std::string s) {}

void CfgAssembler::AssertionFailure(std::string message) {}

void CfgAssembler::Unreachable() {}

void CfgAssembler::DebugBreak() {}

std::vector<std::size_t> CountBlockPredecessors(const ControlFlowGraph& cfg) {}

void CfgAssembler::OptimizeCfg() {}

void CfgAssembler::ComputeInputDefinitions() {}

}  // namespace v8::internal::torque