| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 * Get the number of runs of a given test that is required to get the full | 80 * Get the number of runs of a given test that is required to get the full |
| 81 * stress coverage. | 81 * stress coverage. |
| 82 */ | 82 */ |
| 83 static int GetStressRuns(); | 83 static int GetStressRuns(); |
| 84 | 84 |
| 85 /** | 85 /** |
| 86 * Indicate the number of the run which is about to start. The value of run | 86 * Indicate the number of the run which is about to start. The value of run |
| 87 * should be between 0 and one less than the result from GetStressRuns() | 87 * should be between 0 and one less than the result from GetStressRuns() |
| 88 */ | 88 */ |
| 89 static void PrepareStressRun(int run); | 89 static void PrepareStressRun(int run); |
| 90 |
| 91 /** |
| 92 * Force deoptimization of all functions. |
| 93 */ |
| 94 static void DeoptimizeAll(); |
| 90 }; | 95 }; |
| 91 | 96 |
| 92 | 97 |
| 93 } // namespace v8 | 98 } // namespace v8 |
| 94 | 99 |
| 95 | 100 |
| 96 #undef V8EXPORT | 101 #undef V8EXPORT |
| 97 | 102 |
| 98 | 103 |
| 99 #endif // V8_V8_TEST_H_ | 104 #endif // V8_V8_TEST_H_ |
| OLD | NEW |