4392e0a4ad
This changeset include: 1. [prepare for migrate] move `cctest/compiler/value-helper.h`, `cctest/compiler/c-signature.h`, and `cctest/compiler/call-tester.h` to `test/common` directory because both `test-codegen` and a lot of cctest file include it. 2. [prepare for migrate] separate the tester helper part of `test-codegen` into a new `codegen-tester` file. 3. finally, migrate test-codegen.cc to `codegen-unittest.cc` Bug: v8:12781 Change-Id: Ia2f52c1d3b6b62501066dc1c4308a2c09d699e92 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3831146 Reviewed-by: Clemens Backes <clemensb@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/main@{#82630}
22 lines
681 B
C++
22 lines
681 B
C++
// 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 "test/common/value-helper.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
namespace compiler {
|
|
|
|
// Define constexpr arrays of ValueHelper for external references.
|
|
constexpr int8_t ValueHelper::int8_array[];
|
|
constexpr int16_t ValueHelper::int16_array[];
|
|
constexpr uint32_t ValueHelper::uint32_array[];
|
|
constexpr uint64_t ValueHelper::uint64_array[];
|
|
constexpr float ValueHelper::float32_array[];
|
|
constexpr double ValueHelper::float64_array[];
|
|
|
|
} // namespace compiler
|
|
} // namespace internal
|
|
} // namespace v8
|