OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium 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 #include "gin/public/gin_features.h" | 5 #include "gin/public/gin_features.h" |
6 | 6 |
7 namespace features { | 7 namespace features { |
8 | 8 |
9 // Enables or disables the V8 Ignition interpreter. | 9 // Enables or disables the V8 Ignition interpreter. |
10 const base::Feature kV8Ignition { | 10 const base::Feature kV8Ignition { |
11 "V8Ignition", base::FEATURE_DISABLED_BY_DEFAULT | 11 "V8Ignition", base::FEATURE_DISABLED_BY_DEFAULT |
12 }; | 12 }; |
13 | 13 |
14 // Enables or disables the V8 Ignition interpreter on low end | 14 // Enables or disables the V8 Ignition interpreter on low end |
15 // Android devices. | 15 // Android devices. |
16 const base::Feature kV8IgnitionLowEnd { | 16 const base::Feature kV8IgnitionLowEnd { |
17 "V8IgnitionLowEnd", base::FEATURE_ENABLED_BY_DEFAULT | 17 "V8IgnitionLowEnd", base::FEATURE_ENABLED_BY_DEFAULT |
18 }; | 18 }; |
19 | 19 |
20 // Enables lazy compilation for the V8 Ignition interpreter. Only | |
21 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. | |
22 const base::Feature kV8IgnitionLazy { | |
23 "V8IgnitionLazy", base::FEATURE_DISABLED_BY_DEFAULT | |
24 }; | |
25 | |
26 // Enables eager compilation for the V8 Ignition interpreter. Only | |
27 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. | |
28 const base::Feature kV8IgnitionEager { | |
29 "V8IgnitionEager", base::FEATURE_DISABLED_BY_DEFAULT | |
30 }; | |
31 | |
32 } // namespace features | 20 } // namespace features |
OLD | NEW |