chromium/v8/src/compiler/late-escape-analysis.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/late-escape-analysis.h"

#include <optional>

#include "src/compiler/js-graph.h"
#include "src/compiler/node-properties.h"

namespace v8 {
namespace internal {
namespace compiler {

LateEscapeAnalysis::LateEscapeAnalysis(Editor* editor, Graph* graph,
                                       CommonOperatorBuilder* common,
                                       Zone* zone)
    :{}

namespace {

bool IsStore(Edge edge) {}

bool IsEscapingAllocationWitness(Edge edge) {}

}  // namespace

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

void LateEscapeAnalysis::Finalize() {}

namespace {

std::optional<Node*> TryGetStoredValue(Node* node) {}

}  // namespace

bool LateEscapeAnalysis::IsEscaping(Node* node) {}

void LateEscapeAnalysis::RemoveAllocation(Node* node) {}

void LateEscapeAnalysis::RecordEscapingAllocation(Node* allocation) {}

void LateEscapeAnalysis::RemoveWitness(Node* allocation) {}

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