| 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 lazy compilation for the V8 Ignition interpreter. | 14 // Enables lazy compilation for the V8 Ignition interpreter. Only |
| 15 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. |
| 15 const base::Feature kV8IgnitionLazy { | 16 const base::Feature kV8IgnitionLazy { |
| 16 "V8IgnitionLazy", base::FEATURE_DISABLED_BY_DEFAULT | 17 "V8IgnitionLazy", base::FEATURE_DISABLED_BY_DEFAULT |
| 17 }; | 18 }; |
| 18 | 19 |
| 20 // Enables eager compilation for the V8 Ignition interpreter. Only |
| 21 // one of V8IgnitionLazy or V8IgnitionEager should be enabled. |
| 22 const base::Feature kV8IgnitionEager { |
| 23 "V8IgnitionEager", base::FEATURE_DISABLED_BY_DEFAULT |
| 24 }; |
| 25 |
| 19 } // namespace features | 26 } // namespace features |
| OLD | NEW |