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

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

Issue 2128233002: [Interpreter] Add ClassOf intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 // Load the instance type of a map. 146 // Load the instance type of a map.
147 compiler::Node* LoadMapInstanceType(compiler::Node* map); 147 compiler::Node* LoadMapInstanceType(compiler::Node* map);
148 // Load the instance descriptors of a map. 148 // Load the instance descriptors of a map.
149 compiler::Node* LoadMapDescriptors(compiler::Node* map); 149 compiler::Node* LoadMapDescriptors(compiler::Node* map);
150 // Load the prototype of a map. 150 // Load the prototype of a map.
151 compiler::Node* LoadMapPrototype(compiler::Node* map); 151 compiler::Node* LoadMapPrototype(compiler::Node* map);
152 // Load the instance size of a Map. 152 // Load the instance size of a Map.
153 compiler::Node* LoadMapInstanceSize(compiler::Node* map); 153 compiler::Node* LoadMapInstanceSize(compiler::Node* map);
154 // Load the inobject properties count of a Map (valid only for JSObjects). 154 // Load the inobject properties count of a Map (valid only for JSObjects).
155 compiler::Node* LoadMapInobjectProperties(compiler::Node* map); 155 compiler::Node* LoadMapInobjectProperties(compiler::Node* map);
156 // Load the constructor of a Map (equivalent to Map::GetConstructor()).
157 compiler::Node* LoadMapConstructor(compiler::Node* map);
156 158
157 // Load the hash field of a name. 159 // Load the hash field of a name.
158 compiler::Node* LoadNameHashField(compiler::Node* name); 160 compiler::Node* LoadNameHashField(compiler::Node* name);
159 // Load the hash value of a name. If {if_hash_not_computed} label 161 // Load the hash value of a name. If {if_hash_not_computed} label
160 // is specified then it also checks if hash is actually computed. 162 // is specified then it also checks if hash is actually computed.
161 compiler::Node* LoadNameHash(compiler::Node* name, 163 compiler::Node* LoadNameHash(compiler::Node* name,
162 Label* if_hash_not_computed = nullptr); 164 Label* if_hash_not_computed = nullptr);
163 165
164 // Load length field of a String object. 166 // Load length field of a String object.
165 compiler::Node* LoadStringLength(compiler::Node* object); 167 compiler::Node* LoadStringLength(compiler::Node* object);
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 AllocationFlags flags, 464 AllocationFlags flags,
463 compiler::Node* top_adddress, 465 compiler::Node* top_adddress,
464 compiler::Node* limit_address); 466 compiler::Node* limit_address);
465 467
466 static const int kElementLoopUnrollThreshold = 8; 468 static const int kElementLoopUnrollThreshold = 8;
467 }; 469 };
468 470
469 } // namespace internal 471 } // namespace internal
470 } // namespace v8 472 } // namespace v8
471 #endif // V8_CODE_STUB_ASSEMBLER_H_ 473 #endif // V8_CODE_STUB_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698