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

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

Issue 1413863010: [Interpreter] Add wide varients of bytecodes with feedback and constant pool indexes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_fixbuiltinstacklimit
Patch Set: Rebased Created 5 years, 1 month 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/interpreter/bytecodes.h ('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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 // Generates code to perform the count operations via |function_id|. 57 // Generates code to perform the count operations via |function_id|.
58 void DoCountOp(Runtime::FunctionId function_id, 58 void DoCountOp(Runtime::FunctionId function_id,
59 compiler::InterpreterAssembler* assembler); 59 compiler::InterpreterAssembler* assembler);
60 60
61 // Generates code to perform the comparison operation associated with 61 // Generates code to perform the comparison operation associated with
62 // |compare_op|. 62 // |compare_op|.
63 void DoCompareOp(Token::Value compare_op, 63 void DoCompareOp(Token::Value compare_op,
64 compiler::InterpreterAssembler* assembler); 64 compiler::InterpreterAssembler* assembler);
65 65
66 // Generates code to load a constant from the constant pool.
67 void DoLoadConstant(compiler::InterpreterAssembler* assembler);
68
66 // Generates code to perform a global load via |ic|. 69 // Generates code to perform a global load via |ic|.
67 void DoLoadGlobal(Callable ic, compiler::InterpreterAssembler* assembler); 70 void DoLoadGlobal(Callable ic, compiler::InterpreterAssembler* assembler);
68 71
69 // Generates code to perform a global store via |ic|. 72 // Generates code to perform a global store via |ic|.
70 void DoStoreGlobal(Callable ic, compiler::InterpreterAssembler* assembler); 73 void DoStoreGlobal(Callable ic, compiler::InterpreterAssembler* assembler);
71 74
72 // Generates code to perform a named property load via |ic|. 75 // Generates code to perform a named property load via |ic|.
73 void DoLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); 76 void DoLoadIC(Callable ic, compiler::InterpreterAssembler* assembler);
74 77
75 // Generates code to perform a keyed property load via |ic|. 78 // Generates code to perform a keyed property load via |ic|.
(...skipping 18 matching lines...) Expand all
94 Isolate* isolate_; 97 Isolate* isolate_;
95 98
96 DISALLOW_COPY_AND_ASSIGN(Interpreter); 99 DISALLOW_COPY_AND_ASSIGN(Interpreter);
97 }; 100 };
98 101
99 } // namespace interpreter 102 } // namespace interpreter
100 } // namespace internal 103 } // namespace internal
101 } // namespace v8 104 } // namespace v8
102 105
103 #endif // V8_INTERPRETER_INTERPRETER_H_ 106 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698