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

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

Issue 2289573002: [turbofan] Remove the unused asm.js types from TypeCache. (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/compiler/js-builtin-reducer.cc ('k') | src/compiler/js-global-object-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_OBJECT_SPECIALIZATION_H_ 5 #ifndef V8_COMPILER_JS_GLOBAL_OBJECT_SPECIALIZATION_H_
6 #define V8_COMPILER_JS_GLOBAL_OBJECT_SPECIALIZATION_H_ 6 #define V8_COMPILER_JS_GLOBAL_OBJECT_SPECIALIZATION_H_
7 7
8 #include "src/compiler/graph-reducer.h" 8 #include "src/compiler/graph-reducer.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 // Forward declarations. 13 // Forward declarations.
14 class CompilationDependencies; 14 class CompilationDependencies;
15 class TypeCache;
16
17 15
18 namespace compiler { 16 namespace compiler {
19 17
20 // Forward declarations. 18 // Forward declarations.
21 class CommonOperatorBuilder; 19 class CommonOperatorBuilder;
22 class JSGraph; 20 class JSGraph;
23 class JSOperatorBuilder; 21 class JSOperatorBuilder;
24 class SimplifiedOperatorBuilder; 22 class SimplifiedOperatorBuilder;
25 23 class TypeCache;
26 24
27 // Specializes a given JSGraph to a given global object, potentially constant 25 // Specializes a given JSGraph to a given global object, potentially constant
28 // folding some {JSLoadGlobal} nodes or strength reducing some {JSStoreGlobal} 26 // folding some {JSLoadGlobal} nodes or strength reducing some {JSStoreGlobal}
29 // nodes. 27 // nodes.
30 class JSGlobalObjectSpecialization final : public AdvancedReducer { 28 class JSGlobalObjectSpecialization final : public AdvancedReducer {
31 public: 29 public:
32 JSGlobalObjectSpecialization(Editor* editor, JSGraph* jsgraph, 30 JSGlobalObjectSpecialization(Editor* editor, JSGraph* jsgraph,
33 MaybeHandle<Context> native_context, 31 MaybeHandle<Context> native_context,
34 CompilationDependencies* dependencies); 32 CompilationDependencies* dependencies);
35 33
(...skipping 26 matching lines...) Expand all
62 TypeCache const& type_cache_; 60 TypeCache const& type_cache_;
63 61
64 DISALLOW_COPY_AND_ASSIGN(JSGlobalObjectSpecialization); 62 DISALLOW_COPY_AND_ASSIGN(JSGlobalObjectSpecialization);
65 }; 63 };
66 64
67 } // namespace compiler 65 } // namespace compiler
68 } // namespace internal 66 } // namespace internal
69 } // namespace v8 67 } // namespace v8
70 68
71 #endif // V8_COMPILER_JS_GLOBAL_OBJECT_SPECIALIZATION_H_ 69 #endif // V8_COMPILER_JS_GLOBAL_OBJECT_SPECIALIZATION_H_
OLDNEW
« no previous file with comments | « src/compiler/js-builtin-reducer.cc ('k') | src/compiler/js-global-object-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698