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

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

Issue 1409993002: [turbofan] Move SimplifiedOperatorBuilder into JSGraph. (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-global-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_GLOBAL_SPECIALIZATION_H_ 5 #ifndef V8_COMPILER_JS_GLOBAL_SPECIALIZATION_H_
6 #define V8_COMPILER_JS_GLOBAL_SPECIALIZATION_H_ 6 #define V8_COMPILER_JS_GLOBAL_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"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 struct ScriptContextTableLookupResult; 56 struct ScriptContextTableLookupResult;
57 bool LookupInScriptContextTable(Handle<Name> name, 57 bool LookupInScriptContextTable(Handle<Name> name,
58 ScriptContextTableLookupResult* result); 58 ScriptContextTableLookupResult* result);
59 59
60 Graph* graph() const; 60 Graph* graph() const;
61 JSGraph* jsgraph() const { return jsgraph_; } 61 JSGraph* jsgraph() const { return jsgraph_; }
62 Isolate* isolate() const; 62 Isolate* isolate() const;
63 CommonOperatorBuilder* common() const; 63 CommonOperatorBuilder* common() const;
64 JSOperatorBuilder* javascript() const; 64 JSOperatorBuilder* javascript() const;
65 SimplifiedOperatorBuilder* simplified() { return &simplified_; } 65 SimplifiedOperatorBuilder* simplified() const;
66 Flags flags() const { return flags_; } 66 Flags flags() const { return flags_; }
67 Handle<GlobalObject> global_object() const { return global_object_; } 67 Handle<GlobalObject> global_object() const { return global_object_; }
68 CompilationDependencies* dependencies() const { return dependencies_; } 68 CompilationDependencies* dependencies() const { return dependencies_; }
69 69
70 JSGraph* const jsgraph_; 70 JSGraph* const jsgraph_;
71 Flags const flags_; 71 Flags const flags_;
72 Handle<GlobalObject> global_object_; 72 Handle<GlobalObject> global_object_;
73 CompilationDependencies* const dependencies_; 73 CompilationDependencies* const dependencies_;
74 SimplifiedOperatorBuilder simplified_;
75 74
76 DISALLOW_COPY_AND_ASSIGN(JSGlobalSpecialization); 75 DISALLOW_COPY_AND_ASSIGN(JSGlobalSpecialization);
77 }; 76 };
78 77
79 DEFINE_OPERATORS_FOR_FLAGS(JSGlobalSpecialization::Flags) 78 DEFINE_OPERATORS_FOR_FLAGS(JSGlobalSpecialization::Flags)
80 79
81 } // namespace compiler 80 } // namespace compiler
82 } // namespace internal 81 } // namespace internal
83 } // namespace v8 82 } // namespace v8
84 83
85 #endif // V8_COMPILER_JS_GLOBAL_SPECIALIZATION_H_ 84 #endif // V8_COMPILER_JS_GLOBAL_SPECIALIZATION_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/js-global-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698