Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: src/interpreter/interpreter.h

Issue 1595103006: [Interpreter] Preparation for wide registers. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/interpreter/bytecodes.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 87 // Generates code to perform a JS call.
88 void DoJSCall(compiler::InterpreterAssembler* assembler); 88 void DoJSCall(compiler::InterpreterAssembler* assembler);
89 89
90 // Generates code to perform a runtime call.
91 void DoCallRuntimeCommon(compiler::InterpreterAssembler* assembler);
92
93 // Generates code to perform a runtime call returning a pair.
94 void DoCallRuntimeForPairCommon(compiler::InterpreterAssembler* assembler);
95
96 // Generates code to perform a JS runtime call.
97 void DoCallJSRuntimeCommon(compiler::InterpreterAssembler* assembler);
98
99 // Generates code to perform a constructor call..
100 void DoCallConstruct(compiler::InterpreterAssembler* assembler);
101
90 // Generates code ro create a literal via |function_id|. 102 // Generates code ro create a literal via |function_id|.
91 void DoCreateLiteral(Runtime::FunctionId function_id, 103 void DoCreateLiteral(Runtime::FunctionId function_id,
92 compiler::InterpreterAssembler* assembler); 104 compiler::InterpreterAssembler* assembler);
93 105
94 // Generates code to perform delete via function_id. 106 // Generates code to perform delete via function_id.
95 void DoDelete(Runtime::FunctionId function_id, 107 void DoDelete(Runtime::FunctionId function_id,
96 compiler::InterpreterAssembler* assembler); 108 compiler::InterpreterAssembler* assembler);
97 109
98 // Generates code to perform a lookup slot load via |function_id|. 110 // Generates code to perform a lookup slot load via |function_id|.
99 void DoLoadLookupSlot(Runtime::FunctionId function_id, 111 void DoLoadLookupSlot(Runtime::FunctionId function_id,
100 compiler::InterpreterAssembler* assembler); 112 compiler::InterpreterAssembler* assembler);
101 113
102 // Generates code to perform a lookup slot store depending on |language_mode|. 114 // Generates code to perform a lookup slot store depending on |language_mode|.
103 void DoStoreLookupSlot(LanguageMode language_mode, 115 void DoStoreLookupSlot(LanguageMode language_mode,
104 compiler::InterpreterAssembler* assembler); 116 compiler::InterpreterAssembler* assembler);
105 117
106 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table); 118 bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table);
107 119
108 Isolate* isolate_; 120 Isolate* isolate_;
109 121
110 DISALLOW_COPY_AND_ASSIGN(Interpreter); 122 DISALLOW_COPY_AND_ASSIGN(Interpreter);
111 }; 123 };
112 124
113 } // namespace interpreter 125 } // namespace interpreter
114 } // namespace internal 126 } // namespace internal
115 } // namespace v8 127 } // namespace v8
116 128
117 #endif // V8_INTERPRETER_INTERPRETER_H_ 129 #endif // V8_INTERPRETER_INTERPRETER_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecodes.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698