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

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

Issue 2619773002: [turbofan] Use feedback from StoreDataPropertyInLiteral. (Closed)
Patch Set: Delete comment. Created 3 years, 11 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
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INFO_H_ 5 #ifndef V8_COMPILER_ACCESS_INFO_H_
6 #define V8_COMPILER_ACCESS_INFO_H_ 6 #define V8_COMPILER_ACCESS_INFO_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/field-index.h" 10 #include "src/field-index.h"
11 #include "src/machine-type.h" 11 #include "src/machine-type.h"
12 #include "src/objects.h" 12 #include "src/objects.h"
13 #include "src/zone/zone-containers.h" 13 #include "src/zone/zone-containers.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 17
18 // Forward declarations. 18 // Forward declarations.
19 class CompilationDependencies; 19 class CompilationDependencies;
20 class Factory; 20 class Factory;
21 21
22 namespace compiler { 22 namespace compiler {
23 23
24 // Forward declarations. 24 // Forward declarations.
25 class Type; 25 class Type;
26 class TypeCache; 26 class TypeCache;
27 27
28 // Whether we are loading a property or storing to a property. 28 // Whether we are loading a property or storing to a property.
29 enum class AccessMode { kLoad, kStore }; 29 enum class AccessMode { kLoad, kStore, kStoreInLiteral };
30 30
31 std::ostream& operator<<(std::ostream&, AccessMode); 31 std::ostream& operator<<(std::ostream&, AccessMode);
32 32
33 typedef std::vector<Handle<Map>> MapList; 33 typedef std::vector<Handle<Map>> MapList;
34 34
35 // Mapping of transition source to transition target. 35 // Mapping of transition source to transition target.
36 typedef std::vector<std::pair<Handle<Map>, Handle<Map>>> MapTransitionList; 36 typedef std::vector<std::pair<Handle<Map>, Handle<Map>>> MapTransitionList;
37 37
38 // This class encapsulates all information required to access a certain element. 38 // This class encapsulates all information required to access a certain element.
39 class ElementAccessInfo final { 39 class ElementAccessInfo final {
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 Zone* const zone_; 166 Zone* const zone_;
167 167
168 DISALLOW_COPY_AND_ASSIGN(AccessInfoFactory); 168 DISALLOW_COPY_AND_ASSIGN(AccessInfoFactory);
169 }; 169 };
170 170
171 } // namespace compiler 171 } // namespace compiler
172 } // namespace internal 172 } // namespace internal
173 } // namespace v8 173 } // namespace v8
174 174
175 #endif // V8_COMPILER_ACCESS_INFO_H_ 175 #endif // V8_COMPILER_ACCESS_INFO_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/access-info.cc » ('j') | src/compiler/js-native-context-specialization.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698