#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
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) { … }
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
}
}
}