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

Side by Side Diff: src/compiler/js-native-context-specialization.h

Issue 1417503002: [turbofan] Lower access to special JSObject field accessors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/compiler/js-native-context-specialization.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 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_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 5 #ifndef V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/compiler/graph-reducer.h" 9 #include "src/compiler/graph-reducer.h"
10 #include "src/compiler/simplified-operator.h" 10 #include "src/compiler/simplified-operator.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 // Forward declarations. 15 // Forward declarations.
16 class CompilationDependencies; 16 class CompilationDependencies;
17 class Factory;
17 18
18 19
19 namespace compiler { 20 namespace compiler {
20 21
21 // Forward declarations. 22 // Forward declarations.
22 class CommonOperatorBuilder; 23 class CommonOperatorBuilder;
23 class JSGraph; 24 class JSGraph;
24 class JSOperatorBuilder; 25 class JSOperatorBuilder;
25 class MachineOperatorBuilder; 26 class MachineOperatorBuilder;
26 27
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 bool ComputePropertyAccessInfos(MapHandleList const& maps, Handle<Name> name, 64 bool ComputePropertyAccessInfos(MapHandleList const& maps, Handle<Name> name,
64 ZoneVector<PropertyAccessInfo>* access_infos); 65 ZoneVector<PropertyAccessInfo>* access_infos);
65 66
66 struct ScriptContextTableLookupResult; 67 struct ScriptContextTableLookupResult;
67 bool LookupInScriptContextTable(Handle<Name> name, 68 bool LookupInScriptContextTable(Handle<Name> name,
68 ScriptContextTableLookupResult* result); 69 ScriptContextTableLookupResult* result);
69 70
70 Graph* graph() const; 71 Graph* graph() const;
71 JSGraph* jsgraph() const { return jsgraph_; } 72 JSGraph* jsgraph() const { return jsgraph_; }
72 Isolate* isolate() const; 73 Isolate* isolate() const;
74 Factory* factory() const;
73 CommonOperatorBuilder* common() const; 75 CommonOperatorBuilder* common() const;
74 JSOperatorBuilder* javascript() const; 76 JSOperatorBuilder* javascript() const;
75 SimplifiedOperatorBuilder* simplified() const; 77 SimplifiedOperatorBuilder* simplified() const;
76 MachineOperatorBuilder* machine() const; 78 MachineOperatorBuilder* machine() const;
77 Flags flags() const { return flags_; } 79 Flags flags() const { return flags_; }
78 Handle<GlobalObject> global_object() const { return global_object_; } 80 Handle<GlobalObject> global_object() const { return global_object_; }
79 CompilationDependencies* dependencies() const { return dependencies_; } 81 CompilationDependencies* dependencies() const { return dependencies_; }
80 Zone* zone() const { return zone_; } 82 Zone* zone() const { return zone_; }
81 83
82 JSGraph* const jsgraph_; 84 JSGraph* const jsgraph_;
83 Flags const flags_; 85 Flags const flags_;
84 Handle<GlobalObject> global_object_; 86 Handle<GlobalObject> global_object_;
85 CompilationDependencies* const dependencies_; 87 CompilationDependencies* const dependencies_;
86 Zone* const zone_; 88 Zone* const zone_;
87 89
88 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); 90 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization);
89 }; 91 };
90 92
91 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) 93 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags)
92 94
93 } // namespace compiler 95 } // namespace compiler
94 } // namespace internal 96 } // namespace internal
95 } // namespace v8 97 } // namespace v8
96 98
97 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ 99 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-native-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698