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

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

Issue 1370893002: [Interpreter] Add support for short (16 bit) operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 2 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_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 25 matching lines...) Expand all
36 const Matcher<Node*>& index_matcher); 36 const Matcher<Node*>& index_matcher);
37 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher, 37 Matcher<Node*> IsStore(const Matcher<StoreRepresentation>& rep_matcher,
38 const Matcher<Node*>& base_matcher, 38 const Matcher<Node*>& base_matcher,
39 const Matcher<Node*>& index_matcher, 39 const Matcher<Node*>& index_matcher,
40 const Matcher<Node*>& value_matcher); 40 const Matcher<Node*>& value_matcher);
41 template <class... A> 41 template <class... A>
42 Matcher<Node*> IsCall( 42 Matcher<Node*> IsCall(
43 const Matcher<const CallDescriptor*>& descriptor_matcher, 43 const Matcher<const CallDescriptor*>& descriptor_matcher,
44 A... args); 44 A... args);
45 45
46 Matcher<Node*> IsBytecodeOperand(int operand); 46 Matcher<Node*> IsBytecodeOperand(int offset);
47 Matcher<Node*> IsBytecodeOperandSignExtended(int operand); 47 Matcher<Node*> IsBytecodeOperandSignExtended(int offset);
48 Matcher<Node*> IsBytecodeOperandShort(int offset);
48 49
49 using InterpreterAssembler::call_descriptor; 50 using InterpreterAssembler::call_descriptor;
50 using InterpreterAssembler::graph; 51 using InterpreterAssembler::graph;
51 52
52 private: 53 private:
53 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest); 54 DISALLOW_COPY_AND_ASSIGN(InterpreterAssemblerForTest);
54 }; 55 };
55 }; 56 };
56 57
57 } // namespace compiler 58 } // namespace compiler
58 } // namespace internal 59 } // namespace internal
59 } // namespace v8 60 } // namespace v8
60 61
61 #endif // V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_ 62 #endif // V8_UNITTESTS_COMPILER_INTERPRETER_ASSEMBLER_UNITTEST_H_
OLDNEW
« no previous file with comments | « test/cctest/interpreter/test-bytecode-generator.cc ('k') | test/unittests/compiler/interpreter-assembler-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698