chromium/v8/src/compiler/wasm-gc-operator-reducer.cc

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

#include "src/compiler/wasm-gc-operator-reducer.h"

#include "src/compiler/compiler-source-position-table.h"
#include "src/compiler/node-properties.h"
#include "src/compiler/simplified-operator.h"
#include "src/compiler/wasm-compiler-definitions.h"
#include "src/wasm/wasm-subtyping.h"

namespace v8 {
namespace internal {
namespace compiler {

WasmGCOperatorReducer::WasmGCOperatorReducer(
    Editor* editor, Zone* temp_zone_, MachineGraph* mcgraph,
    const wasm::WasmModule* module, SourcePositionTable* source_position_table)
    :{}

Reduction WasmGCOperatorReducer::Reduce(Node* node) {}

namespace {
bool InDeadBranch(Node* node) {}

Node* GetAlias(Node* node) {}

}  // namespace

Node* WasmGCOperatorReducer::SetType(Node* node, wasm::ValueType type) {}

Reduction WasmGCOperatorReducer::UpdateNodeAndAliasesTypes(
    Node* state_owner, ControlPathTypes parent_state, Node* node,
    wasm::TypeInModule type, bool in_new_block) {}

Reduction WasmGCOperatorReducer::ReduceStart(Node* node) {}

wasm::TypeInModule WasmGCOperatorReducer::ObjectTypeFromContext(
    Node* object, Node* control, bool allow_non_wasm) {}

Reduction WasmGCOperatorReducer::ReduceWasmStructOperation(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceWasmArrayLength(Node* node) {}

// If the condition of this node's branch is a type check or a null check,
// add the additional information about the type-checked node to the path
// state.
Reduction WasmGCOperatorReducer::ReduceIf(Node* node, bool condition) {}

Reduction WasmGCOperatorReducer::ReduceMerge(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceAssertNotNull(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceCheckNull(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceWasmAnyConvertExtern(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceTypeGuard(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceWasmTypeCast(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceWasmTypeCastAbstract(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceWasmTypeCheck(Node* node) {}

Reduction WasmGCOperatorReducer::ReduceWasmTypeCheckAbstract(Node* node) {}

void WasmGCOperatorReducer::UpdateSourcePosition(Node* new_node,
                                                 Node* old_node) {}

}  // namespace compiler
}  // namespace internal
}  // namespace v8