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