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

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

Issue 1419173007: [turbofan] Add support for transitioning stores to double fields. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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/code-stubs-hydrogen.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 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 namespace compiler { 12 namespace compiler {
13 13
14 // This access builder provides a set of static methods constructing commonly 14 // This access builder provides a set of static methods constructing commonly
15 // used FieldAccess and ElementAccess descriptors. These descriptors serve as 15 // used FieldAccess and ElementAccess descriptors. These descriptors serve as
16 // parameters to simplified load/store operators. 16 // parameters to simplified load/store operators.
17 class AccessBuilder final : public AllStatic { 17 class AccessBuilder final : public AllStatic {
18 public: 18 public:
19 // =========================================================================== 19 // ===========================================================================
20 // Access to heap object fields and elements (based on tagged pointer). 20 // Access to heap object fields and elements (based on tagged pointer).
21 21
22 // Provides access to HeapObject::map() field. 22 // Provides access to HeapObject::map() field.
23 static FieldAccess ForMap(); 23 static FieldAccess ForMap();
24 24
25 // Provides access to HeapNumber::value() field.
26 static FieldAccess ForHeapNumberValue();
27
25 // Provides access to JSObject::properties() field. 28 // Provides access to JSObject::properties() field.
26 static FieldAccess ForJSObjectProperties(); 29 static FieldAccess ForJSObjectProperties();
27 30
28 // Provides access to JSObject::elements() field. 31 // Provides access to JSObject::elements() field.
29 static FieldAccess ForJSObjectElements(); 32 static FieldAccess ForJSObjectElements();
30 33
31 // Provides access to JSFunction::context() field. 34 // Provides access to JSFunction::context() field.
32 static FieldAccess ForJSFunctionContext(); 35 static FieldAccess ForJSFunctionContext();
33 36
34 // Provides access to JSFunction::shared() field. 37 // Provides access to JSFunction::shared() field.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 117
115 private: 118 private:
116 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 119 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
117 }; 120 };
118 121
119 } // namespace compiler 122 } // namespace compiler
120 } // namespace internal 123 } // namespace internal
121 } // namespace v8 124 } // namespace v8
122 125
123 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 126 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698