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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
88 void DoJSCall(compiler::InterpreterAssembler* assembler); | 88 void DoJSCall(compiler::InterpreterAssembler* assembler); |
89 | 89 |
90 // Generates code ro create a literal via |function_id|. | 90 // Generates code ro create a literal via |function_id|. |
91 void DoCreateLiteral(Runtime::FunctionId function_id, | 91 void DoCreateLiteral(Runtime::FunctionId function_id, |
92 compiler::InterpreterAssembler* assembler); | 92 compiler::InterpreterAssembler* assembler); |
93 | 93 |
94 // Generates code to perform delete via function_id. | 94 // Generates code to perform delete via function_id. |
95 void DoDelete(Runtime::FunctionId function_id, | 95 void DoDelete(Runtime::FunctionId function_id, |
96 compiler::InterpreterAssembler* assembler); | 96 compiler::InterpreterAssembler* assembler); |
97 | 97 |
98 // Generates code to perform a lookup slot load via |function_id|. | |
99 void LdaLookupSlotHelper(Runtime::FunctionId function_id, | |
rmcilroy
2015/12/16 12:07:25
Just call this DoLoadLookupSlot to be consistent w
mythria
2015/12/16 16:44:01
Done.
| |
100 compiler::InterpreterAssembler* assembler); | |
101 | |
102 // Generates code to perform a lookup slot store depending on |language_mode|. | |
103 void StaLookupSlotHelper(LanguageMode language_mode, | |
rmcilroy
2015/12/16 12:07:25
DoStoreLookupSlot for the same reason.
mythria
2015/12/16 16:44:01
Done.
| |
104 compiler::InterpreterAssembler* assembler); | |
105 | |
98 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); | 106 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); |
99 | 107 |
100 Isolate* isolate_; | 108 Isolate* isolate_; |
101 | 109 |
102 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 110 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
103 }; | 111 }; |
104 | 112 |
105 } // namespace interpreter | 113 } // namespace interpreter |
106 } // namespace internal | 114 } // namespace internal |
107 } // namespace v8 | 115 } // namespace v8 |
108 | 116 |
109 #endif // V8_INTERPRETER_INTERPRETER_H_ | 117 #endif // V8_INTERPRETER_INTERPRETER_H_ |
OLD | NEW |