chromium/v8/src/compiler/escape-analysis-reducer.cc

// Copyright 2017 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/escape-analysis-reducer.h"

#include "src/compiler/all-nodes.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/operation-typer.h"
#include "src/compiler/simplified-operator.h"
#include "src/execution/frame-constants.h"

namespace v8 {
namespace internal {
namespace compiler {

#ifdef DEBUG
#define TRACE
#else
#define TRACE
#endif  // DEBUG

EscapeAnalysisReducer::EscapeAnalysisReducer(
    Editor* editor, JSGraph* jsgraph, JSHeapBroker* broker,
    EscapeAnalysisResult analysis_result, Zone* zone)
    :{}

Reduction EscapeAnalysisReducer::ReplaceNode(Node* original,
                                             Node* replacement) {}

Node* EscapeAnalysisReducer::ObjectIdNode(const VirtualObject* vobject) {}

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

// While doing DFS on the FrameState tree, we have to recognize duplicate
// occurrences of virtual objects.
class Deduplicator {};

void EscapeAnalysisReducer::ReduceFrameStateInputs(Node* node) {}

Node* EscapeAnalysisReducer::ReduceDeoptState(Node* node, Node* effect,
                                              Deduplicator* deduplicator) {}

void EscapeAnalysisReducer::VerifyReplacement() const {}

void EscapeAnalysisReducer::Finalize() {}

Node* NodeHashCache::Query(Node* node) {}

NodeHashCache::Constructor::Constructor(NodeHashCache* cache,
                                        const Operator* op, int input_count,
                                        Node** inputs, Type type)
    :{}

Node* NodeHashCache::Constructor::Get() {}

Node* NodeHashCache::Constructor::MutableNode() {}

#undef TRACE

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