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

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

Issue 1852213002: [interpreter] Add accumulator use description to bytecodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/machine-operator.h" 8 #include "src/compiler/machine-operator.h"
9 #include "src/interpreter/interpreter-assembler.h" 9 #include "src/interpreter/interpreter-assembler.h"
10 #include "test/unittests/test-utils.h" 10 #include "test/unittests/test-utils.h"
(...skipping 10 matching lines...) Expand all
21 InterpreterAssemblerTest() {} 21 InterpreterAssemblerTest() {}
22 ~InterpreterAssemblerTest() override {} 22 ~InterpreterAssemblerTest() override {}
23 23
24 class InterpreterAssemblerForTest final : public InterpreterAssembler { 24 class InterpreterAssemblerForTest final : public InterpreterAssembler {
25 public: 25 public:
26 InterpreterAssemblerForTest( 26 InterpreterAssemblerForTest(
27 InterpreterAssemblerTest* test, Bytecode bytecode, 27 InterpreterAssemblerTest* test, Bytecode bytecode,
28 OperandScale operand_scale = OperandScale::kSingle) 28 OperandScale operand_scale = OperandScale::kSingle)
29 : InterpreterAssembler(test->isolate(), test->zone(), bytecode, 29 : InterpreterAssembler(test->isolate(), test->zone(), bytecode,
30 operand_scale) {} 30 operand_scale) {}
31 ~InterpreterAssemblerForTest() override {} 31 ~InterpreterAssemblerForTest() override;
32 32
33 Matcher<compiler::Node*> IsLoad( 33 Matcher<compiler::Node*> IsLoad(
34 const Matcher<compiler::LoadRepresentation>& rep_matcher, 34 const Matcher<compiler::LoadRepresentation>& rep_matcher,
35 const Matcher<compiler::Node*>& base_matcher, 35 const Matcher<compiler::Node*>& base_matcher,
36 const Matcher<compiler::Node*>& index_matcher); 36 const Matcher<compiler::Node*>& index_matcher);
37 Matcher<compiler::Node*> IsStore( 37 Matcher<compiler::Node*> IsStore(
38 const Matcher<compiler::StoreRepresentation>& rep_matcher, 38 const Matcher<compiler::StoreRepresentation>& rep_matcher,
39 const Matcher<compiler::Node*>& base_matcher, 39 const Matcher<compiler::Node*>& base_matcher,
40 const Matcher<compiler::Node*>& index_matcher, 40 const Matcher<compiler::Node*>& index_matcher,
41 const Matcher<compiler::Node*>& value_matcher); 41 const Matcher<compiler::Node*>& value_matcher);
(...skipping 15 matching lines...) Expand all
57 private: 57 private:
58 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest); 58 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest);
59 }; 59 };
60 }; 60 };
61 61
62 } // namespace interpreter 62 } // namespace interpreter
63 } // namespace internal 63 } // namespace internal
64 } // namespace v8 64 } // namespace v8
65 65
66 #endif // V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_ 66 #endif // V8_UNITTESTS_INTERPRETER_INTERPRETER_ASSEMBLER_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698