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

Side by Side Diff: src/compiler/access-builder.h

Issue 2394823003: Reland "[turbofan] inline %StringIteratorPrototype%.next in JSBuiltinReducer" (Closed)
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_ACCESS_BUILDER_H_ 5 #ifndef V8_COMPILER_ACCESS_BUILDER_H_
6 #define V8_COMPILER_ACCESS_BUILDER_H_ 6 #define V8_COMPILER_ACCESS_BUILDER_H_
7 7
8 #include "src/compiler/simplified-operator.h" 8 #include "src/compiler/simplified-operator.h"
9 #include "src/elements-kind.h" 9 #include "src/elements-kind.h"
10 10
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 // Provides access to SeqTwoByteString characters. 176 // Provides access to SeqTwoByteString characters.
177 static ElementAccess ForSeqTwoByteStringCharacter(); 177 static ElementAccess ForSeqTwoByteStringCharacter();
178 178
179 // Provides access to JSGlobalObject::global_proxy() field. 179 // Provides access to JSGlobalObject::global_proxy() field.
180 static FieldAccess ForJSGlobalObjectGlobalProxy(); 180 static FieldAccess ForJSGlobalObjectGlobalProxy();
181 181
182 // Provides access to JSGlobalObject::native_context() field. 182 // Provides access to JSGlobalObject::native_context() field.
183 static FieldAccess ForJSGlobalObjectNativeContext(); 183 static FieldAccess ForJSGlobalObjectNativeContext();
184 184
185 // Provides access to JSStringIterator::string() field.
186 static FieldAccess ForJSStringIteratorString();
187
188 // Provides access to JSStringIterator::index() field.
189 static FieldAccess ForJSStringIteratorIndex();
190
185 // Provides access to JSValue::value() field. 191 // Provides access to JSValue::value() field.
186 static FieldAccess ForValue(); 192 static FieldAccess ForValue();
187 193
188 // Provides access to arguments object fields. 194 // Provides access to arguments object fields.
189 static FieldAccess ForArgumentsLength(); 195 static FieldAccess ForArgumentsLength();
190 static FieldAccess ForArgumentsCallee(); 196 static FieldAccess ForArgumentsCallee();
191 197
192 // Provides access to FixedArray slots. 198 // Provides access to FixedArray slots.
193 static FieldAccess ForFixedArraySlot(size_t index); 199 static FieldAccess ForFixedArraySlot(size_t index);
194 200
(...skipping 17 matching lines...) Expand all
212 218
213 private: 219 private:
214 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 220 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
215 }; 221 };
216 222
217 } // namespace compiler 223 } // namespace compiler
218 } // namespace internal 224 } // namespace internal
219 } // namespace v8 225 } // namespace v8
220 226
221 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 227 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698