chromium/v8/src/profiler/weak-code-registry.cc

// Copyright 2021 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/profiler/weak-code-registry.h"

#include "src/handles/global-handles-inl.h"
#include "src/objects/code-inl.h"
#include "src/objects/instance-type-inl.h"

namespace v8 {
namespace internal {

namespace {

void Untrack(CodeEntry* entry) {}

}  // namespace

void WeakCodeRegistry::Track(CodeEntry* entry,
                             DirectHandle<AbstractCode> code) {}

void WeakCodeRegistry::Sweep(WeakCodeRegistry::Listener* listener) {}

void WeakCodeRegistry::Clear() {}

}  // namespace internal
}  // namespace v8