Loading...
Searching...
No Matches
v8-testing.h
Go to the documentation of this file.
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
3// found in the LICENSE file.
4
5#ifndef V8_V8_TEST_H_
6#define V8_V8_TEST_H_
7
8#include "v8.h" // NOLINT(build/include)
9
13namespace v8 {
14
16 public:
19 kStressTypeDeopt
20 };
21
25 static void SetStressRunType(StressType type);
26
31 static int GetStressRuns();
32
37 static void PrepareStressRun(int run);
38
42 static void DeoptimizeAll(Isolate* isolate);
43};
44
45
46} // namespace v8
47
48#endif // V8_V8_TEST_H_
Definition: v8.h:6768
Definition: v8-testing.h:15
StressType
Definition: v8-testing.h:17
@ kStressTypeOpt
Definition: v8-testing.h:18
static void SetStressRunType(StressType type)
static void PrepareStressRun(int run)
static void DeoptimizeAll(Isolate *isolate)
static int GetStressRuns()
Definition: libplatform.h:12
#define V8_EXPORT
Definition: v8.h:56