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

Side by Side Diff: src/compiler/js-builtin-reducer.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/escape-analysis.cc ('k') | src/compiler/js-builtin-reducer.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_JS_BUILTIN_REDUCER_H_ 5 #ifndef V8_COMPILER_JS_BUILTIN_REDUCER_H_
6 #define V8_COMPILER_JS_BUILTIN_REDUCER_H_ 6 #define V8_COMPILER_JS_BUILTIN_REDUCER_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 10
11 namespace v8 { 11 namespace v8 {
12 namespace internal { 12 namespace internal {
13 13
14 // Forward declarations. 14 // Forward declarations.
15 class CompilationDependencies; 15 class CompilationDependencies;
16 class Factory; 16 class Factory;
17 class TypeCache;
18 17
19 namespace compiler { 18 namespace compiler {
20 19
21 // Forward declarations. 20 // Forward declarations.
22 class CommonOperatorBuilder; 21 class CommonOperatorBuilder;
23 struct FieldAccess; 22 struct FieldAccess;
24 class JSGraph; 23 class JSGraph;
25 class SimplifiedOperatorBuilder; 24 class SimplifiedOperatorBuilder;
26 25 class TypeCache;
27 26
28 class JSBuiltinReducer final : public AdvancedReducer { 27 class JSBuiltinReducer final : public AdvancedReducer {
29 public: 28 public:
30 // Flags that control the mode of operation. 29 // Flags that control the mode of operation.
31 enum Flag { 30 enum Flag {
32 kNoFlags = 0u, 31 kNoFlags = 0u,
33 kDeoptimizationEnabled = 1u << 0, 32 kDeoptimizationEnabled = 1u << 0,
34 }; 33 };
35 typedef base::Flags<Flag> Flags; 34 typedef base::Flags<Flag> Flags;
36 35
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 TypeCache const& type_cache_; 101 TypeCache const& type_cache_;
103 }; 102 };
104 103
105 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags) 104 DEFINE_OPERATORS_FOR_FLAGS(JSBuiltinReducer::Flags)
106 105
107 } // namespace compiler 106 } // namespace compiler
108 } // namespace internal 107 } // namespace internal
109 } // namespace v8 108 } // namespace v8
110 109
111 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_ 110 #endif // V8_COMPILER_JS_BUILTIN_REDUCER_H_
OLDNEW
« no previous file with comments | « src/compiler/escape-analysis.cc ('k') | src/compiler/js-builtin-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698