Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: test/unittests/interpreter/interpreter-assembler-unittest.h

Issue 2600183004: [turbofan] Remove virtual methods from CodeAssembler. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_ 5 #ifndef V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_
6 #define V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_ 6 #define V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_
7 7
8 #include "src/compiler/code-assembler.h" 8 #include "src/compiler/code-assembler.h"
9 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/machine-operator.h"
10 #include "src/interpreter/interpreter-assembler.h" 10 #include "src/interpreter/interpreter-assembler.h"
(...skipping 18 matching lines...) Expand all
29 public: 29 public:
30 InterpreterAssemblerTest() {} 30 InterpreterAssemblerTest() {}
31 ~InterpreterAssemblerTest() override {} 31 ~InterpreterAssemblerTest() override {}
32 32
33 class InterpreterAssemblerForTest final : public InterpreterAssembler { 33 class InterpreterAssemblerForTest final : public InterpreterAssembler {
34 public: 34 public:
35 InterpreterAssemblerForTest( 35 InterpreterAssemblerForTest(
36 InterpreterAssemblerTestState* state, Bytecode bytecode, 36 InterpreterAssemblerTestState* state, Bytecode bytecode,
37 OperandScale operand_scale = OperandScale::kSingle) 37 OperandScale operand_scale = OperandScale::kSingle)
38 : InterpreterAssembler(state, bytecode, operand_scale) {} 38 : InterpreterAssembler(state, bytecode, operand_scale) {}
39 ~InterpreterAssemblerForTest() override; 39 ~InterpreterAssemblerForTest();
40 40
41 Matcher<compiler::Node*> IsLoad( 41 Matcher<compiler::Node*> IsLoad(
42 const Matcher<compiler::LoadRepresentation>& rep_matcher, 42 const Matcher<compiler::LoadRepresentation>& rep_matcher,
43 const Matcher<compiler::Node*>& base_matcher, 43 const Matcher<compiler::Node*>& base_matcher,
44 const Matcher<compiler::Node*>& index_matcher); 44 const Matcher<compiler::Node*>& index_matcher);
45 Matcher<compiler::Node*> IsStore( 45 Matcher<compiler::Node*> IsStore(
46 const Matcher<compiler::StoreRepresentation>& rep_matcher, 46 const Matcher<compiler::StoreRepresentation>& rep_matcher,
47 const Matcher<compiler::Node*>& base_matcher, 47 const Matcher<compiler::Node*>& base_matcher,
48 const Matcher<compiler::Node*>& index_matcher, 48 const Matcher<compiler::Node*>& index_matcher,
49 const Matcher<compiler::Node*>& value_matcher); 49 const Matcher<compiler::Node*>& value_matcher);
(...skipping 13 matching lines...) Expand all
63 private: 63 private:
64 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest); 64 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest);
65 }; 65 };
66 }; 66 };
67 67
68 } // namespace interpreter 68 } // namespace interpreter
69 } // namespace internal 69 } // namespace internal
70 } // namespace v8 70 } // namespace v8
71 71
72 #endif // V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_ 72 #endif // V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_
OLDNEW
« src/compiler/code-assembler.cc ('K') | « src/interpreter/interpreter-assembler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698