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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 // Generates code to perform a keyed property load via |ic|. | 78 // Generates code to perform a keyed property load via |ic|. |
79 void DoKeyedLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); | 79 void DoKeyedLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); |
80 | 80 |
81 // Generates code to perform a namedproperty store via |ic|. | 81 // Generates code to perform a namedproperty store via |ic|. |
82 void DoStoreIC(Callable ic, compiler::InterpreterAssembler* assembler); | 82 void DoStoreIC(Callable ic, compiler::InterpreterAssembler* assembler); |
83 | 83 |
84 // Generates code to perform a keyed property store via |ic|. | 84 // Generates code to perform a keyed property store via |ic|. |
85 void DoKeyedStoreIC(Callable ic, compiler::InterpreterAssembler* assembler); | 85 void DoKeyedStoreIC(Callable ic, compiler::InterpreterAssembler* assembler); |
86 | 86 |
| 87 // Generates code to perform a JS call. |
| 88 void DoJSCall(compiler::InterpreterAssembler* assembler); |
| 89 |
87 // Generates code ro create a literal via |function_id|. | 90 // Generates code ro create a literal via |function_id|. |
88 void DoCreateLiteral(Runtime::FunctionId function_id, | 91 void DoCreateLiteral(Runtime::FunctionId function_id, |
89 compiler::InterpreterAssembler* assembler); | 92 compiler::InterpreterAssembler* assembler); |
90 | 93 |
91 // Generates code to perform delete via function_id. | 94 // Generates code to perform delete via function_id. |
92 void DoDelete(Runtime::FunctionId function_id, | 95 void DoDelete(Runtime::FunctionId function_id, |
93 compiler::InterpreterAssembler* assembler); | 96 compiler::InterpreterAssembler* assembler); |
94 | 97 |
95 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); | 98 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); |
96 | 99 |
97 Isolate* isolate_; | 100 Isolate* isolate_; |
98 | 101 |
99 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 102 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
100 }; | 103 }; |
101 | 104 |
102 } // namespace interpreter | 105 } // namespace interpreter |
103 } // namespace internal | 106 } // namespace internal |
104 } // namespace v8 | 107 } // namespace v8 |
105 | 108 |
106 #endif // V8_INTERPRETER_INTERPRETER_H_ | 109 #endif // V8_INTERPRETER_INTERPRETER_H_ |
OLD | NEW |