| // Copyright 2010 the V8 project authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "v8.h" // NOLINT(build/include) |
| * Testing support for the V8 JavaScript engine. |
| class V8_EXPORT Testing { |
| * Set the type of stressing to do. The default if not set is kStressTypeOpt. |
| static void SetStressRunType(StressType type); |
| * Get the number of runs of a given test that is required to get the full |
| static int GetStressRuns(); |
| * Indicate the number of the run which is about to start. The value of run |
| * should be between 0 and one less than the result from GetStressRuns() |
| static void PrepareStressRun(int run); |
| * Force deoptimization of all functions. |
| static void DeoptimizeAll(Isolate* isolate); |