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

Side by Side Diff: src/interpreter/interpreter.h

Issue 1753173003: [compiler] Introduce initial StrictEqualStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add pseudo-code. Created 4 years, 9 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
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_INTERPRETER_INTERPRETER_H_ 5 #ifndef V8_INTERPRETER_INTERPRETER_H_
6 #define V8_INTERPRETER_INTERPRETER_H_ 6 #define V8_INTERPRETER_INTERPRETER_H_
7 7
8 // Clients of this interface shouldn't depend on lots of interpreter internals. 8 // Clients of this interface shouldn't depend on lots of interpreter internals.
9 // Do not include anything from src/interpreter other than 9 // Do not include anything from src/interpreter other than
10 // src/interpreter/bytecodes.h here! 10 // src/interpreter/bytecodes.h here!
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 return reinterpret_cast<Address>(&dispatch_table_[0]); 51 return reinterpret_cast<Address>(&dispatch_table_[0]);
52 } 52 }
53 53
54 private: 54 private:
55 // Bytecode handler generator functions. 55 // Bytecode handler generator functions.
56 #define DECLARE_BYTECODE_HANDLER_GENERATOR(Name, ...) \ 56 #define DECLARE_BYTECODE_HANDLER_GENERATOR(Name, ...) \
57 void Do##Name(InterpreterAssembler* assembler); 57 void Do##Name(InterpreterAssembler* assembler);
58 BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR) 58 BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR)
59 #undef DECLARE_BYTECODE_HANDLER_GENERATOR 59 #undef DECLARE_BYTECODE_HANDLER_GENERATOR
60 60
61 // Generates code to perform the binary operations via |callable|.
62 void DoBinaryOp(Callable callable, InterpreterAssembler* assembler);
63
61 // Generates code to perform the binary operations via |function_id|. 64 // Generates code to perform the binary operations via |function_id|.
62 void DoBinaryOp(Runtime::FunctionId function_id, 65 void DoBinaryOp(Runtime::FunctionId function_id,
63 InterpreterAssembler* assembler); 66 InterpreterAssembler* assembler);
64 67
65 // Generates code to perform the count operations via |function_id|. 68 // Generates code to perform the count operations via |function_id|.
66 void DoCountOp(Runtime::FunctionId function_id, 69 void DoCountOp(Runtime::FunctionId function_id,
67 InterpreterAssembler* assembler); 70 InterpreterAssembler* assembler);
68 71
69 // Generates code to perform the comparison operation associated with 72 // Generates code to perform the comparison operation associated with
70 // |compare_op|. 73 // |compare_op|.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 Code* dispatch_table_[kDispatchTableSize]; 136 Code* dispatch_table_[kDispatchTableSize];
134 137
135 DISALLOW_COPY_AND_ASSIGN(Interpreter); 138 DISALLOW_COPY_AND_ASSIGN(Interpreter);
136 }; 139 };
137 140
138 } // namespace interpreter 141 } // namespace interpreter
139 } // namespace internal 142 } // namespace internal
140 } // namespace v8 143 } // namespace v8
141 144
142 #endif // V8_INTERPRETER_INTERPRETER_H_ 145 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698