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

Side by Side Diff: src/interpreter/bytecode-array-builder.h

Issue 2637403008: [async-iteration] add support for for-await-of loops in Async Functions (Closed)
Patch Set: remove that comment Created 3 years, 10 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/ast/ast.h ('k') | src/interpreter/bytecode-array-builder.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_BYTECODE_ARRAY_BUILDER_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 6 #define V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
7 7
8 #include "src/ast/ast.h" 8 #include "src/ast/ast.h"
9 #include "src/base/compiler-specific.h" 9 #include "src/base/compiler-specific.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 // Named load property. 121 // Named load property.
122 BytecodeArrayBuilder& LoadNamedProperty(Register object, 122 BytecodeArrayBuilder& LoadNamedProperty(Register object,
123 const AstRawString* name, 123 const AstRawString* name,
124 int feedback_slot); 124 int feedback_slot);
125 // Keyed load property. The key should be in the accumulator. 125 // Keyed load property. The key should be in the accumulator.
126 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot); 126 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot);
127 // Named load property of the @@iterator symbol. 127 // Named load property of the @@iterator symbol.
128 BytecodeArrayBuilder& LoadIteratorProperty(Register object, 128 BytecodeArrayBuilder& LoadIteratorProperty(Register object,
129 int feedback_slot); 129 int feedback_slot);
130 // Named load property of the @@asyncIterator symbol.
131 BytecodeArrayBuilder& LoadAsyncIteratorProperty(Register object,
132 int feedback_slot);
130 133
131 // Store properties. Flag for NeedsSetFunctionName() should 134 // Store properties. Flag for NeedsSetFunctionName() should
132 // be in the accumulator. 135 // be in the accumulator.
133 BytecodeArrayBuilder& StoreDataPropertyInLiteral( 136 BytecodeArrayBuilder& StoreDataPropertyInLiteral(
134 Register object, Register name, DataPropertyInLiteralFlags flags, 137 Register object, Register name, DataPropertyInLiteralFlags flags,
135 int feedback_slot); 138 int feedback_slot);
136 139
137 // Store a property named by a property name. The value to be stored should be 140 // Store a property named by a property name. The value to be stored should be
138 // in the accumulator. 141 // in the accumulator.
139 BytecodeArrayBuilder& StoreNamedProperty(Register object, 142 BytecodeArrayBuilder& StoreNamedProperty(Register object,
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 static int const kNoFeedbackSlot = 0; 477 static int const kNoFeedbackSlot = 0;
475 478
476 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder); 479 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder);
477 }; 480 };
478 481
479 } // namespace interpreter 482 } // namespace interpreter
480 } // namespace internal 483 } // namespace internal
481 } // namespace v8 484 } // namespace v8
482 485
483 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_ 486 #endif // V8_INTERPRETER_BYTECODE_ARRAY_BUILDER_H_
OLDNEW
« no previous file with comments | « src/ast/ast.h ('k') | src/interpreter/bytecode-array-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698