libv8 6.7.288.46.1-universal-darwin-15 → 8.4.255.0-universal-darwin-15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/libv8/version.rb +1 -1
- data/vendor/v8/include/cppgc/allocation.h +124 -0
- data/vendor/v8/include/cppgc/garbage-collected.h +192 -0
- data/vendor/v8/include/cppgc/heap.h +50 -0
- data/vendor/v8/include/cppgc/internal/accessors.h +26 -0
- data/vendor/v8/include/cppgc/internal/api-constants.h +44 -0
- data/vendor/v8/include/cppgc/internal/compiler-specific.h +26 -0
- data/vendor/v8/include/cppgc/internal/finalizer-trait.h +90 -0
- data/vendor/v8/include/cppgc/internal/gc-info.h +43 -0
- data/vendor/v8/include/cppgc/internal/logging.h +50 -0
- data/vendor/v8/include/cppgc/internal/persistent-node.h +109 -0
- data/vendor/v8/include/cppgc/internal/pointer-policies.h +133 -0
- data/vendor/v8/include/cppgc/internal/prefinalizer-handler.h +31 -0
- data/vendor/v8/include/cppgc/liveness-broker.h +50 -0
- data/vendor/v8/include/cppgc/macros.h +26 -0
- data/vendor/v8/include/cppgc/member.h +206 -0
- data/vendor/v8/include/cppgc/persistent.h +304 -0
- data/vendor/v8/include/cppgc/platform.h +31 -0
- data/vendor/v8/include/cppgc/prefinalizer.h +54 -0
- data/vendor/v8/include/cppgc/source-location.h +59 -0
- data/vendor/v8/include/cppgc/trace-trait.h +67 -0
- data/vendor/v8/include/cppgc/type-traits.h +109 -0
- data/vendor/v8/include/cppgc/visitor.h +137 -0
- data/vendor/v8/include/libplatform/libplatform.h +13 -24
- data/vendor/v8/include/libplatform/v8-tracing.h +57 -20
- data/vendor/v8/include/v8-fast-api-calls.h +412 -0
- data/vendor/v8/include/v8-inspector-protocol.h +4 -4
- data/vendor/v8/include/v8-inspector.h +74 -36
- data/vendor/v8/include/v8-internal.h +389 -0
- data/vendor/v8/include/v8-platform.h +228 -124
- data/vendor/v8/include/v8-profiler.h +292 -228
- data/vendor/v8/include/v8-util.h +27 -25
- data/vendor/v8/include/v8-version-string.h +1 -1
- data/vendor/v8/include/v8-version.h +4 -4
- data/vendor/v8/include/v8-wasm-trap-handler-posix.h +31 -0
- data/vendor/v8/include/v8-wasm-trap-handler-win.h +28 -0
- data/vendor/v8/include/v8.h +2966 -1362
- data/vendor/v8/include/v8config.h +156 -114
- data/vendor/v8/out.gn/libv8/obj/libv8_libbase.a +0 -0
- data/vendor/v8/out.gn/libv8/obj/libv8_libplatform.a +0 -0
- data/vendor/v8/out.gn/libv8/obj/libv8_monolith.a +0 -0
- data/vendor/v8/out.gn/libv8/obj/third_party/icu/libicui18n.a +0 -0
- data/vendor/v8/out.gn/libv8/obj/third_party/icu/libicuuc.a +0 -0
- data/vendor/v8/out.gn/libv8/obj/third_party/zlib/google/libcompression_utils_portable.a +0 -0
- data/vendor/v8/out.gn/libv8/obj/third_party/zlib/libchrome_zlib.a +0 -0
- metadata +37 -9
- data/vendor/v8/include/v8-testing.h +0 -48
@@ -1,48 +0,0 @@
|
|
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
|
-
|
10
|
-
/**
|
11
|
-
* Testing support for the V8 JavaScript engine.
|
12
|
-
*/
|
13
|
-
namespace v8 {
|
14
|
-
|
15
|
-
class V8_EXPORT Testing {
|
16
|
-
public:
|
17
|
-
enum StressType {
|
18
|
-
kStressTypeOpt,
|
19
|
-
kStressTypeDeopt
|
20
|
-
};
|
21
|
-
|
22
|
-
/**
|
23
|
-
* Set the type of stressing to do. The default if not set is kStressTypeOpt.
|
24
|
-
*/
|
25
|
-
static void SetStressRunType(StressType type);
|
26
|
-
|
27
|
-
/**
|
28
|
-
* Get the number of runs of a given test that is required to get the full
|
29
|
-
* stress coverage.
|
30
|
-
*/
|
31
|
-
static int GetStressRuns();
|
32
|
-
|
33
|
-
/**
|
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()
|
36
|
-
*/
|
37
|
-
static void PrepareStressRun(int run);
|
38
|
-
|
39
|
-
/**
|
40
|
-
* Force deoptimization of all functions.
|
41
|
-
*/
|
42
|
-
static void DeoptimizeAll(Isolate* isolate);
|
43
|
-
};
|
44
|
-
|
45
|
-
|
46
|
-
} // namespace v8
|
47
|
-
|
48
|
-
#endif // V8_V8_TEST_H_
|