| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 // Generates code to perform a namedproperty store via |ic|. | 82 // Generates code to perform a namedproperty store via |ic|. |
| 83 void DoStoreIC(Callable ic, InterpreterAssembler* assembler); | 83 void DoStoreIC(Callable ic, InterpreterAssembler* assembler); |
| 84 | 84 |
| 85 // Generates code to perform a keyed property store via |ic|. | 85 // Generates code to perform a keyed property store via |ic|. |
| 86 void DoKeyedStoreIC(Callable ic, InterpreterAssembler* assembler); | 86 void DoKeyedStoreIC(Callable ic, InterpreterAssembler* assembler); |
| 87 | 87 |
| 88 // Generates code to perform a JS call. | 88 // Generates code to perform a JS call. |
| 89 void DoJSCall(InterpreterAssembler* assembler); | 89 void DoJSCall(InterpreterAssembler* assembler); |
| 90 | 90 |
| 91 // Generates code to perform a JS call with feedback. |
| 92 void DoJSCallWithFeedback(InterpreterAssembler* assembler); |
| 93 |
| 91 // Generates code to perform a runtime call. | 94 // Generates code to perform a runtime call. |
| 92 void DoCallRuntimeCommon(InterpreterAssembler* assembler); | 95 void DoCallRuntimeCommon(InterpreterAssembler* assembler); |
| 93 | 96 |
| 94 // Generates code to perform a runtime call returning a pair. | 97 // Generates code to perform a runtime call returning a pair. |
| 95 void DoCallRuntimeForPairCommon(InterpreterAssembler* assembler); | 98 void DoCallRuntimeForPairCommon(InterpreterAssembler* assembler); |
| 96 | 99 |
| 97 // Generates code to perform a JS runtime call. | 100 // Generates code to perform a JS runtime call. |
| 98 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler); | 101 void DoCallJSRuntimeCommon(InterpreterAssembler* assembler); |
| 99 | 102 |
| 100 // Generates code to perform a constructor call.. | 103 // Generates code to perform a constructor call.. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 124 Object* dispatch_table_[kDispatchTableSize]; | 127 Object* dispatch_table_[kDispatchTableSize]; |
| 125 | 128 |
| 126 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 129 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
| 127 }; | 130 }; |
| 128 | 131 |
| 129 } // namespace interpreter | 132 } // namespace interpreter |
| 130 } // namespace internal | 133 } // namespace internal |
| 131 } // namespace v8 | 134 } // namespace v8 |
| 132 | 135 |
| 133 #endif // V8_INTERPRETER_INTERPRETER_H_ | 136 #endif // V8_INTERPRETER_INTERPRETER_H_ |
| OLD | NEW |