| 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 future compiler pipeline of V8, with the Ignition | 9 // Enables future experimental features of V8. |
| 10 // interpreter and TurboFan compiler. | |
| 11 const base::Feature kV8Future { | 10 const base::Feature kV8Future { |
| 12 "V8Future", base::FEATURE_DISABLED_BY_DEFAULT | 11 "V8Future", base::FEATURE_DISABLED_BY_DEFAULT |
| 13 }; | 12 }; |
| 14 | 13 |
| 14 // Disables the new compiler pipeline of V8, with the Ignition interpreter and |
| 15 // TurboFan compiler. |
| 16 const base::Feature kV8NoTurbo{"V8NoTurbo", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 17 |
| 15 // Enables or disables the V8 Ignition interpreter on low end | 18 // Enables or disables the V8 Ignition interpreter on low end |
| 16 // Android devices. | 19 // Android devices. |
| 17 const base::Feature kV8IgnitionLowEnd { | 20 const base::Feature kV8IgnitionLowEnd { |
| 18 "V8IgnitionLowEnd", base::FEATURE_ENABLED_BY_DEFAULT | 21 "V8IgnitionLowEnd", base::FEATURE_ENABLED_BY_DEFAULT |
| 19 }; | 22 }; |
| 20 | 23 |
| 21 } // namespace features | 24 } // namespace features |
| OLD | NEW |