a6eeea35cb
Bug: v8:9247 TBR=bmeurer@chromium.org,neis@chromium.org NOPRESUBMIT=true Change-Id: Ia1e49d1aac09c4ff9e05d58fab9d08dd71198878 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1621931 Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org> Commit-Queue: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#61682}
36 lines
1.0 KiB
C++
36 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"
|
|
#include "testing/gmock-support.h"
|
|
|
|
namespace v8 {
|
|
namespace internal {
|
|
|
|
class CodeStubAssemblerTest : public TestWithIsolateAndZone {
|
|
public:
|
|
CodeStubAssemblerTest() = default;
|
|
~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_
|