| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR) | 48 BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR) |
| 49 #undef DECLARE_BYTECODE_HANDLER_GENERATOR | 49 #undef DECLARE_BYTECODE_HANDLER_GENERATOR |
| 50 | 50 |
| 51 // Generates code to perform the binary operations via |binop_builtin|. | 51 // Generates code to perform the binary operations via |binop_builtin|. |
| 52 void DoBinaryOp(int builtin_context_index, | 52 void DoBinaryOp(int builtin_context_index, |
| 53 compiler::InterpreterAssembler* assembler); | 53 compiler::InterpreterAssembler* assembler); |
| 54 | 54 |
| 55 // Generates code to perform a property load via |ic|. | 55 // Generates code to perform a property load via |ic|. |
| 56 void DoPropertyLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); | 56 void DoPropertyLoadIC(Callable ic, compiler::InterpreterAssembler* assembler); |
| 57 | 57 |
| 58 // Generates code to perform a property store via |ic|. |
| 59 void DoPropertyStoreIC(Callable ic, |
| 60 compiler::InterpreterAssembler* assembler); |
| 61 |
| 58 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); | 62 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); |
| 59 | 63 |
| 60 Isolate* isolate_; | 64 Isolate* isolate_; |
| 61 | 65 |
| 62 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 66 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
| 63 }; | 67 }; |
| 64 | 68 |
| 65 } // namespace interpreter | 69 } // namespace interpreter |
| 66 } // namespace internal | 70 } // namespace internal |
| 67 } // namespace v8 | 71 } // namespace v8 |
| 68 | 72 |
| 69 #endif // V8_INTERPRETER_INTERPRETER_H_ | 73 #endif // V8_INTERPRETER_INTERPRETER_H_ |
| OLD | NEW |