v8/test/unittests/codegen/code-stub-assembler-unittest.h
Manos Koukoutos 2a0584bfe8 [test] Remove some unused includes (2)
Mostly test/fuzzer, test/inspector, test/unittests.

Bug: v8:13006
Change-Id: I825efa5d72a224bb3cb9f86a9fac8763e9dbd1cf
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3769696
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Manos Koukoutos <manoskouk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81799}
2022-07-19 08:55:55 +00:00

35 lines
1.0 KiB
C++

// Copyright 2017 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_UNITTESTS_CODE_STUB_ASSEMBLER_UNITTEST_H_
#define V8_UNITTESTS_CODE_STUB_ASSEMBLER_UNITTEST_H_
#include "src/codegen/code-stub-assembler.h"
#include "test/unittests/test-utils.h"
namespace v8 {
namespace internal {
class CodeStubAssemblerTest : public TestWithIsolateAndZone {
public:
CodeStubAssemblerTest() : TestWithIsolateAndZone(kCompressGraphZone) {}
~CodeStubAssemblerTest() override = default;
};
class CodeStubAssemblerTestState : public compiler::CodeAssemblerState {
public:
explicit CodeStubAssemblerTestState(CodeStubAssemblerTest* test);
};
class CodeStubAssemblerForTest : public CodeStubAssembler {
public:
explicit CodeStubAssemblerForTest(CodeStubAssemblerTestState* state)
: CodeStubAssembler(state) {}
};
} // namespace internal
} // namespace v8
#endif // V8_UNITTESTS_CODE_STUB_ASSEMBLER_UNITTEST_H_