chromium/v8/src/wasm/stacks.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/wasm/stacks.h"

#include "src/base/platform/platform.h"
#include "src/execution/simulator.h"
#include "src/wasm/wasm-engine.h"

namespace v8::internal::wasm {

// static
StackMemory* StackMemory::GetCurrentStackView(Isolate* isolate) {}

StackMemory::~StackMemory() {}

StackMemory::StackMemory() :{}

// Overload to represent a view of the libc stack.
StackMemory::StackMemory(uint8_t* limit, size_t size)
    :{}

StackMemory::StackSegment::StackSegment(size_t size) {}

StackMemory::StackSegment::~StackSegment() {}

bool StackMemory::Grow(Address current_fp) {}

Address StackMemory::Shrink() {}

void StackMemory::Reset() {}

std::unique_ptr<StackMemory> StackPool::GetOrAllocate() {}

void StackPool::Add(std::unique_ptr<StackMemory> stack) {}

void StackPool::ReleaseFinishedStacks() {}

size_t StackPool::Size() const {}

}  // namespace v8::internal::wasm