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

Side by Side Diff: src/compiler/typed-optimization.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/type-cache.cc ('k') | src/compiler/typed-optimization.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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_TYPED_OPTIMIZATION_H_ 5 #ifndef V8_COMPILER_TYPED_OPTIMIZATION_H_
6 #define V8_COMPILER_TYPED_OPTIMIZATION_H_ 6 #define V8_COMPILER_TYPED_OPTIMIZATION_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 Isolate; 17 class Isolate;
18 class TypeCache;
19 18
20 namespace compiler { 19 namespace compiler {
21 20
22 // Forward declarations. 21 // Forward declarations.
23 class JSGraph; 22 class JSGraph;
24 class SimplifiedOperatorBuilder; 23 class SimplifiedOperatorBuilder;
24 class TypeCache;
25 25
26 class TypedOptimization final : public AdvancedReducer { 26 class TypedOptimization final : public AdvancedReducer {
27 public: 27 public:
28 // Flags that control the mode of operation. 28 // Flags that control the mode of operation.
29 enum Flag { 29 enum Flag {
30 kNoFlags = 0u, 30 kNoFlags = 0u,
31 kDeoptimizationEnabled = 1u << 0, 31 kDeoptimizationEnabled = 1u << 0,
32 }; 32 };
33 typedef base::Flags<Flag> Flags; 33 typedef base::Flags<Flag> Flags;
34 34
(...skipping 29 matching lines...) Expand all
64 DISALLOW_COPY_AND_ASSIGN(TypedOptimization); 64 DISALLOW_COPY_AND_ASSIGN(TypedOptimization);
65 }; 65 };
66 66
67 DEFINE_OPERATORS_FOR_FLAGS(TypedOptimization::Flags) 67 DEFINE_OPERATORS_FOR_FLAGS(TypedOptimization::Flags)
68 68
69 } // namespace compiler 69 } // namespace compiler
70 } // namespace internal 70 } // namespace internal
71 } // namespace v8 71 } // namespace v8
72 72
73 #endif // V8_COMPILER_TYPED_OPTIMIZATION_H_ 73 #endif // V8_COMPILER_TYPED_OPTIMIZATION_H_
OLDNEW
« no previous file with comments | « src/compiler/type-cache.cc ('k') | src/compiler/typed-optimization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698