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

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

Issue 1904933002: Introduce bytecodes for assisting generator suspend and resume. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nix Created 4 years, 8 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/code-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_CODE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ 6 #define V8_COMPILER_CODE_ASSEMBLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 // Unary 238 // Unary
239 #define DECLARE_CODE_ASSEMBLER_UNARY_OP(name) Node* name(Node* a); 239 #define DECLARE_CODE_ASSEMBLER_UNARY_OP(name) Node* name(Node* a);
240 CODE_ASSEMBLER_UNARY_OP_LIST(DECLARE_CODE_ASSEMBLER_UNARY_OP) 240 CODE_ASSEMBLER_UNARY_OP_LIST(DECLARE_CODE_ASSEMBLER_UNARY_OP)
241 #undef DECLARE_CODE_ASSEMBLER_UNARY_OP 241 #undef DECLARE_CODE_ASSEMBLER_UNARY_OP
242 242
243 Node* TruncateFloat64ToInt32RoundToZero(Node* a); 243 Node* TruncateFloat64ToInt32RoundToZero(Node* a);
244 Node* TruncateFloat64ToInt32JavaScript(Node* a); 244 Node* TruncateFloat64ToInt32JavaScript(Node* a);
245 // No-op on 32-bit, otherwise zero extend. 245 // No-op on 32-bit, otherwise zero extend.
246 Node* ChangeUint32ToWord(Node* value); 246 Node* ChangeUint32ToWord(Node* value);
247 // No-op on 32-bit, otherwise sign extend.
248 Node* ChangeInt32ToIntPtr(Node* value);
247 249
248 // Projections 250 // Projections
249 Node* Projection(int index, Node* value); 251 Node* Projection(int index, Node* value);
250 252
251 // Calls 253 // Calls
252 Node* CallRuntime(Runtime::FunctionId function_id, Node* context); 254 Node* CallRuntime(Runtime::FunctionId function_id, Node* context);
253 Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1); 255 Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1);
254 Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1, 256 Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1,
255 Node* arg2); 257 Node* arg2);
256 Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1, 258 Node* CallRuntime(Runtime::FunctionId function_id, Node* context, Node* arg1,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 // Map of variables to the list of value nodes that have been added from each 384 // Map of variables to the list of value nodes that have been added from each
383 // merge path in their order of merging. 385 // merge path in their order of merging.
384 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; 386 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_;
385 }; 387 };
386 388
387 } // namespace compiler 389 } // namespace compiler
388 } // namespace internal 390 } // namespace internal
389 } // namespace v8 391 } // namespace v8
390 392
391 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ 393 #endif // V8_COMPILER_CODE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.cc ('k') | src/compiler/code-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698