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

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

Issue 2303643002: [turbofan] Don't treat the hole NaN as constant inside the compiler. (Closed)
Patch Set: Created 4 years, 3 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/assembler.cc ('k') | 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/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
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 namespace compiler { 13 namespace compiler {
14 14
15 // This access builder provides a set of static methods constructing commonly 15 // This access builder provides a set of static methods constructing commonly
16 // used FieldAccess and ElementAccess descriptors. These descriptors serve as 16 // used FieldAccess and ElementAccess descriptors. These descriptors serve as
17 // parameters to simplified load/store operators. 17 // parameters to simplified load/store operators.
18 class AccessBuilder final : public AllStatic { 18 class AccessBuilder final : public AllStatic {
19 public: 19 public:
20 // =========================================================================== 20 // ===========================================================================
21 // Access to external values (based on external references).
22
23 // Provides access to a double field identified by an external reference.
24 static FieldAccess ForExternalDoubleValue();
25
26 // ===========================================================================
21 // Access to heap object fields and elements (based on tagged pointer). 27 // Access to heap object fields and elements (based on tagged pointer).
22 28
23 // Provides access to HeapObject::map() field. 29 // Provides access to HeapObject::map() field.
24 static FieldAccess ForMap(); 30 static FieldAccess ForMap();
25 31
26 // Provides access to HeapNumber::value() field. 32 // Provides access to HeapNumber::value() field.
27 static FieldAccess ForHeapNumberValue(); 33 static FieldAccess ForHeapNumberValue();
28 34
29 // Provides access to JSObject::properties() field. 35 // Provides access to JSObject::properties() field.
30 static FieldAccess ForJSObjectProperties(); 36 static FieldAccess ForJSObjectProperties();
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 212
207 private: 213 private:
208 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 214 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
209 }; 215 };
210 216
211 } // namespace compiler 217 } // namespace compiler
212 } // namespace internal 218 } // namespace internal
213 } // namespace v8 219 } // namespace v8
214 220
215 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 221 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698