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

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

Issue 2550043002: [turbofan] Lower %_DebugIsActive intrinsic. (Closed)
Patch Set: Created 4 years 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/compiler/access-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 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/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/elements-kind.h" 10 #include "src/elements-kind.h"
11 #include "src/globals.h" 11 #include "src/globals.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 namespace compiler { 15 namespace compiler {
16 16
17 // This access builder provides a set of static methods constructing commonly 17 // This access builder provides a set of static methods constructing commonly
18 // used FieldAccess and ElementAccess descriptors. These descriptors serve as 18 // used FieldAccess and ElementAccess descriptors. These descriptors serve as
19 // parameters to simplified load/store operators. 19 // parameters to simplified load/store operators.
20 class V8_EXPORT_PRIVATE AccessBuilder final 20 class V8_EXPORT_PRIVATE AccessBuilder final
21 : public NON_EXPORTED_BASE(AllStatic) { 21 : public NON_EXPORTED_BASE(AllStatic) {
22 public: 22 public:
23 // =========================================================================== 23 // ===========================================================================
24 // Access to external values (based on external references). 24 // Access to external values (based on external references).
25 25
26 // Provides access to a double field identified by an external reference. 26 // Provides access to a double field identified by an external reference.
27 static FieldAccess ForExternalDoubleValue(); 27 static FieldAccess ForExternalDoubleValue();
28 28
29 // Provides access to an uint8 field identified by an external reference.
30 static FieldAccess ForExternalUint8Value();
31
29 // =========================================================================== 32 // ===========================================================================
30 // Access to heap object fields and elements (based on tagged pointer). 33 // Access to heap object fields and elements (based on tagged pointer).
31 34
32 // Provides access to HeapObject::map() field. 35 // Provides access to HeapObject::map() field.
33 static FieldAccess ForMap(); 36 static FieldAccess ForMap();
34 37
35 // Provides access to HeapNumber::value() field. 38 // Provides access to HeapNumber::value() field.
36 static FieldAccess ForHeapNumberValue(); 39 static FieldAccess ForHeapNumberValue();
37 40
38 // Provides access to JSObject::properties() field. 41 // Provides access to JSObject::properties() field.
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 243
241 private: 244 private:
242 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 245 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
243 }; 246 };
244 247
245 } // namespace compiler 248 } // namespace compiler
246 } // namespace internal 249 } // namespace internal
247 } // namespace v8 250 } // namespace v8
248 251
249 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 252 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698