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 experimental V8 Ignition interpreter. | 9 // Enables or disables the experimental 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 experimental V8 Ignition interpreter on low end |
| 15 // Android devices. |
| 16 const base::Feature kV8IgnitionLowEnd { |
| 17 "V8IgnitionLowEnd", base::FEATURE_DISABLED_BY_DEFAULT |
| 18 }; |
| 19 |
14 // Enables lazy compilation for the V8 Ignition interpreter. Only | 20 // Enables lazy compilation for the V8 Ignition interpreter. Only |
15 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. | 21 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. |
16 const base::Feature kV8IgnitionLazy { | 22 const base::Feature kV8IgnitionLazy { |
17 "V8IgnitionLazy", base::FEATURE_DISABLED_BY_DEFAULT | 23 "V8IgnitionLazy", base::FEATURE_DISABLED_BY_DEFAULT |
18 }; | 24 }; |
19 | 25 |
20 // Enables eager compilation for the V8 Ignition interpreter. Only | 26 // Enables eager compilation for the V8 Ignition interpreter. Only |
21 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. | 27 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. |
22 const base::Feature kV8IgnitionEager { | 28 const base::Feature kV8IgnitionEager { |
23 "V8IgnitionEager", base::FEATURE_DISABLED_BY_DEFAULT | 29 "V8IgnitionEager", base::FEATURE_DISABLED_BY_DEFAULT |
24 }; | 30 }; |
25 | 31 |
26 } // namespace features | 32 } // namespace features |
OLD | NEW |