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_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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
108 compiler::InterpreterAssembler* assembler); | 108 compiler::InterpreterAssembler* assembler); |
109 | 109 |
110 // Generates code to perform a lookup slot load via |function_id|. | 110 // Generates code to perform a lookup slot load via |function_id|. |
111 void DoLoadLookupSlot(Runtime::FunctionId function_id, | 111 void DoLoadLookupSlot(Runtime::FunctionId function_id, |
112 compiler::InterpreterAssembler* assembler); | 112 compiler::InterpreterAssembler* assembler); |
113 | 113 |
114 // Generates code to perform a lookup slot store depending on |language_mode|. | 114 // Generates code to perform a lookup slot store depending on |language_mode|. |
115 void DoStoreLookupSlot(LanguageMode language_mode, | 115 void DoStoreLookupSlot(LanguageMode language_mode, |
116 compiler::InterpreterAssembler* assembler); | 116 compiler::InterpreterAssembler* assembler); |
117 | 117 |
118 // Generates code to trace the currently executing bytecode. | |
119 void DoTraceBytecodeEntry(compiler::InterpreterAssembler* assembler); | |
120 void DoTraceBytecodeExit(compiler::InterpreterAssembler* assembler); | |
Michael Starzinger
2016/01/28 12:07:06
nit: Doesn't seem to be used nor implemented. Look
rmcilroy
2016/01/28 16:39:51
Yup, leftover, thanks. Done.
| |
121 | |
118 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); | 122 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); |
119 | 123 |
120 Isolate* isolate_; | 124 Isolate* isolate_; |
121 | 125 |
122 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 126 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
123 }; | 127 }; |
124 | 128 |
125 } // namespace interpreter | 129 } // namespace interpreter |
126 } // namespace internal | 130 } // namespace internal |
127 } // namespace v8 | 131 } // namespace v8 |
128 | 132 |
129 #endif // V8_INTERPRETER_INTERPRETER_H_ | 133 #endif // V8_INTERPRETER_INTERPRETER_H_ |
OLD | NEW |