OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project 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 #ifndef V8_V8_TEST_H_ | 5 #ifndef V8_V8_TEST_H_ |
6 #define V8_V8_TEST_H_ | 6 #define V8_V8_TEST_H_ |
7 | 7 |
8 #include "v8.h" // NOLINT(build/include) | 8 #include "v8.h" // NOLINT(build/include) |
9 | 9 |
10 /** | 10 /** |
(...skipping 21 matching lines...) Expand all Loading... |
32 | 32 |
33 /** | 33 /** |
34 * Indicate the number of the run which is about to start. The value of run | 34 * Indicate the number of the run which is about to start. The value of run |
35 * should be between 0 and one less than the result from GetStressRuns() | 35 * should be between 0 and one less than the result from GetStressRuns() |
36 */ | 36 */ |
37 static void PrepareStressRun(int run); | 37 static void PrepareStressRun(int run); |
38 | 38 |
39 /** | 39 /** |
40 * Force deoptimization of all functions. | 40 * Force deoptimization of all functions. |
41 */ | 41 */ |
42 static void DeoptimizeAll(); | 42 static void DeoptimizeAll(Isolate* isolate); |
43 }; | 43 }; |
44 | 44 |
45 | 45 |
46 } // namespace v8 | 46 } // namespace v8 |
47 | 47 |
48 #endif // V8_V8_TEST_H_ | 48 #endif // V8_V8_TEST_H_ |
OLD | NEW |