OLD | NEW |
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_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ | 5 #ifndef V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ |
6 #define V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ | 6 #define V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ |
7 | 7 |
8 #include "src/compiler/interpreter-assembler.h" | 8 #include "src/compiler/interpreter-assembler.h" |
9 #include "src/compiler/linkage.h" | 9 #include "src/compiler/linkage.h" |
10 #include "src/compiler/machine-operator.h" | 10 #include "src/compiler/machine-operator.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 const Matcher<Node*>& base_matcher, | 33 const Matcher<Node*>& base_matcher, |
34 const Matcher<Node*>& index_matcher); | 34 const Matcher<Node*>& index_matcher); |
35 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, | 35 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, |
36 const Matcher<Node*>& base_matcher, | 36 const Matcher<Node*>& base_matcher, |
37 const Matcher<Node*>& index_matcher, | 37 const Matcher<Node*>& index_matcher, |
38 const Matcher<Node*>& value_matcher); | 38 const Matcher<Node*>& value_matcher); |
39 | 39 |
40 Matcher<Node*> IsBytecodeOperand(int offset); | 40 Matcher<Node*> IsBytecodeOperand(int offset); |
41 Matcher<Node*> IsBytecodeOperandSignExtended(int offset); | 41 Matcher<Node*> IsBytecodeOperandSignExtended(int offset); |
42 Matcher<Node*> IsBytecodeOperandShort(int offset); | 42 Matcher<Node*> IsBytecodeOperandShort(int offset); |
| 43 Matcher<Node*> IsBytecodeOperandShortSignExtended(int offset); |
43 | 44 |
44 using InterpreterAssembler::call_descriptor; | 45 using InterpreterAssembler::call_descriptor; |
45 using InterpreterAssembler::graph; | 46 using InterpreterAssembler::graph; |
46 | 47 |
47 private: | 48 private: |
48 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest); | 49 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest); |
49 }; | 50 }; |
50 }; | 51 }; |
51 | 52 |
52 } // namespace compiler | 53 } // namespace compiler |
53 } // namespace internal | 54 } // namespace internal |
54 } // namespace v8 | 55 } // namespace v8 |
55 | 56 |
56 #endif // V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ | 57 #endif // V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ |
OLD | NEW |