Chromium Code Reviews| 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. function_id depends | |
| 89 // on the language mode. | |
|
rmcilroy
2015/10/26 14:31:07
nit - I don't think "function_id depends on the la
mythria
2015/10/27 10:50:48
Done.
| |
| 90 void DoDelete(Runtime::FunctionId function_id, | |
| 91 compiler::InterpreterAssembler* assembler); | |
|
rmcilroy
2015/10/26 14:31:07
indentation
mythria
2015/10/27 10:50:48
Done.
| |
| 92 | |
| 88 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); | 93 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); |
| 89 | 94 |
| 90 Isolate* isolate_; | 95 Isolate* isolate_; |
| 91 | 96 |
| 92 DISALLOW_COPY_AND_ASSIGN(Interpreter); | 97 DISALLOW_COPY_AND_ASSIGN(Interpreter); |
| 93 }; | 98 }; |
| 94 | 99 |
| 95 } // namespace interpreter | 100 } // namespace interpreter |
| 96 } // namespace internal | 101 } // namespace internal |
| 97 } // namespace v8 | 102 } // namespace v8 |
| 98 | 103 |
| 99 #endif // V8_INTERPRETER_INTERPRETER_H_ | 104 #endif // V8_INTERPRETER_INTERPRETER_H_ |
| OLD | NEW |