chromium/v8/src/compiler/allocation-builder-inl.h

// Copyright 2018 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.

#ifndef V8_COMPILER_ALLOCATION_BUILDER_INL_H_
#define V8_COMPILER_ALLOCATION_BUILDER_INL_H_

#include "src/compiler/access-builder.h"
#include "src/compiler/allocation-builder.h"
#include "src/heap/heap-inl.h"
#include "src/objects/arguments-inl.h"

namespace v8 {
namespace internal {
namespace compiler {

void AllocationBuilder::Allocate(int size, AllocationType allocation,
                                 Type type) {}

void AllocationBuilder::AllocateContext(int variadic_part_length, MapRef map) {}

bool AllocationBuilder::CanAllocateArray(int length, MapRef map,
                                         AllocationType allocation) {}

// Compound allocation of a FixedArray.
void AllocationBuilder::AllocateArray(int length, MapRef map,
                                      AllocationType allocation) {}

bool AllocationBuilder::CanAllocateSloppyArgumentElements(
    int length, MapRef map, AllocationType allocation) {}

void AllocationBuilder::AllocateSloppyArgumentElements(
    int length, MapRef map, AllocationType allocation) {}

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

#endif  // V8_COMPILER_ALLOCATION_BUILDER_INL_H_