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

Side by Side Diff: src/compiler/interpreter-assembler.h

Issue 1361113002: [Interpreter] Add support for loading globals in the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Review comments and fix ASAN Created 5 years, 2 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/compiler/bytecode-graph-builder.cc ('k') | src/compiler/interpreter-assembler.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_COMPILER_INTERPRETER_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_INTERPRETER_ASSEMBLER_H_
6 #define V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 6 #define V8_COMPILER_INTERPRETER_ASSEMBLER_H_
7 7
8 // Clients of this interface shouldn't depend on lots of compiler internals. 8 // Clients of this interface shouldn't depend on lots of compiler internals.
9 // Do not include anything from src/compiler here! 9 // Do not include anything from src/compiler here!
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // receiver) and the first argument located at |first_arg|. 97 // receiver) and the first argument located at |first_arg|.
98 Node* CallJS(Node* function, Node* first_arg, Node* arg_count); 98 Node* CallJS(Node* function, Node* first_arg, Node* arg_count);
99 99
100 // Call an IC code stub. 100 // Call an IC code stub.
101 Node* CallIC(CallInterfaceDescriptor descriptor, Node* target, Node* arg1, 101 Node* CallIC(CallInterfaceDescriptor descriptor, Node* target, Node* arg1,
102 Node* arg2, Node* arg3, Node* arg4); 102 Node* arg2, Node* arg3, Node* arg4);
103 Node* CallIC(CallInterfaceDescriptor descriptor, Node* target, Node* arg1, 103 Node* CallIC(CallInterfaceDescriptor descriptor, Node* target, Node* arg1,
104 Node* arg2, Node* arg3, Node* arg4, Node* arg5); 104 Node* arg2, Node* arg3, Node* arg4, Node* arg5);
105 105
106 // Call runtime function. 106 // Call runtime function.
107 Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1);
107 Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1, Node* arg2); 108 Node* CallRuntime(Runtime::FunctionId function_id, Node* arg1, Node* arg2);
108 109
109 // Returns from the function. 110 // Returns from the function.
110 void Return(); 111 void Return();
111 112
112 // Dispatch to the bytecode. 113 // Dispatch to the bytecode.
113 void Dispatch(); 114 void Dispatch();
114 115
115 protected: 116 protected:
116 // Close the graph. 117 // Close the graph.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 bool code_generated_; 163 bool code_generated_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler); 165 DISALLOW_COPY_AND_ASSIGN(InterpreterAssembler);
165 }; 166 };
166 167
167 } // namespace interpreter 168 } // namespace interpreter
168 } // namespace internal 169 } // namespace internal
169 } // namespace v8 170 } // namespace v8
170 171
171 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_ 172 #endif // V8_COMPILER_INTERPRETER_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698