summaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/code-stub-assembler-unittest.h
blob: 2c32e0f9b77e6660e0ea1cec3d7265a015dd9005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// 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/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() {}
  ~CodeStubAssemblerTest() override {}
};

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_