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