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

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

Issue 2380563005: [code-stubs] Add LoadMapElementsKind helper (Closed)
Patch Set: comitting all files 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
« no previous file with comments | « src/builtins/builtins-array.cc ('k') | src/code-stub-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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_CODE_STUB_ASSEMBLER_H_ 5 #ifndef V8_CODE_STUB_ASSEMBLER_H_
6 #define V8_CODE_STUB_ASSEMBLER_H_ 6 #define V8_CODE_STUB_ASSEMBLER_H_
7 7
8 #include <functional> 8 #include <functional>
9 9
10 #include "src/compiler/code-assembler.h" 10 #include "src/compiler/code-assembler.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Load the length of a fixed array base instance. 228 // Load the length of a fixed array base instance.
229 compiler::Node* LoadAndUntagFixedArrayBaseLength(compiler::Node* array); 229 compiler::Node* LoadAndUntagFixedArrayBaseLength(compiler::Node* array);
230 // Load the bit field of a Map. 230 // Load the bit field of a Map.
231 compiler::Node* LoadMapBitField(compiler::Node* map); 231 compiler::Node* LoadMapBitField(compiler::Node* map);
232 // Load bit field 2 of a map. 232 // Load bit field 2 of a map.
233 compiler::Node* LoadMapBitField2(compiler::Node* map); 233 compiler::Node* LoadMapBitField2(compiler::Node* map);
234 // Load bit field 3 of a map. 234 // Load bit field 3 of a map.
235 compiler::Node* LoadMapBitField3(compiler::Node* map); 235 compiler::Node* LoadMapBitField3(compiler::Node* map);
236 // Load the instance type of a map. 236 // Load the instance type of a map.
237 compiler::Node* LoadMapInstanceType(compiler::Node* map); 237 compiler::Node* LoadMapInstanceType(compiler::Node* map);
238 // Load the ElementsKind of a map.
239 compiler::Node* LoadMapElementsKind(compiler::Node* map);
238 // Load the instance descriptors of a map. 240 // Load the instance descriptors of a map.
239 compiler::Node* LoadMapDescriptors(compiler::Node* map); 241 compiler::Node* LoadMapDescriptors(compiler::Node* map);
240 // Load the prototype of a map. 242 // Load the prototype of a map.
241 compiler::Node* LoadMapPrototype(compiler::Node* map); 243 compiler::Node* LoadMapPrototype(compiler::Node* map);
242 // Load the instance size of a Map. 244 // Load the instance size of a Map.
243 compiler::Node* LoadMapInstanceSize(compiler::Node* map); 245 compiler::Node* LoadMapInstanceSize(compiler::Node* map);
244 // Load the inobject properties count of a Map (valid only for JSObjects). 246 // Load the inobject properties count of a Map (valid only for JSObjects).
245 compiler::Node* LoadMapInobjectProperties(compiler::Node* map); 247 compiler::Node* LoadMapInobjectProperties(compiler::Node* map);
246 // Load the constructor function index of a Map (only for primitive maps). 248 // Load the constructor function index of a Map (only for primitive maps).
247 compiler::Node* LoadMapConstructorFunctionIndex(compiler::Node* map); 249 compiler::Node* LoadMapConstructorFunctionIndex(compiler::Node* map);
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 Label* bailout); 872 Label* bailout);
871 873
872 static const int kElementLoopUnrollThreshold = 8; 874 static const int kElementLoopUnrollThreshold = 8;
873 }; 875 };
874 876
875 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags); 877 DEFINE_OPERATORS_FOR_FLAGS(CodeStubAssembler::AllocationFlags);
876 878
877 } // namespace internal 879 } // namespace internal
878 } // namespace v8 880 } // namespace v8
879 #endif // V8_CODE_STUB_ASSEMBLER_H_ 881 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-array.cc ('k') | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698