libv8 3.16.14.19.1-armv7l-linux → 5.3.332.38.5-armv7l-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +5 -5
  2. data/ext/libv8/arch.rb +10 -33
  3. data/ext/libv8/location.rb +16 -8
  4. data/ext/libv8/paths.rb +3 -3
  5. data/lib/libv8/version.rb +1 -1
  6. data/vendor/v8/include/libplatform/libplatform.h +38 -0
  7. data/vendor/v8/include/v8-debug.h +84 -191
  8. data/vendor/v8/include/v8-experimental.h +54 -0
  9. data/vendor/v8/include/v8-platform.h +171 -0
  10. data/vendor/v8/include/v8-profiler.h +395 -188
  11. data/vendor/v8/include/v8-testing.h +5 -62
  12. data/vendor/v8/include/v8-util.h +654 -0
  13. data/vendor/v8/include/v8-version.h +20 -0
  14. data/vendor/v8/include/v8.h +6925 -2960
  15. data/vendor/v8/include/v8config.h +432 -0
  16. data/vendor/v8/out/arm.release/libv8_base.a +0 -0
  17. data/vendor/v8/out/arm.release/libv8_libbase.a +0 -0
  18. data/vendor/v8/out/arm.release/libv8_libplatform.a +0 -0
  19. data/vendor/v8/out/arm.release/libv8_libsampler.a +0 -0
  20. data/vendor/v8/out/arm.release/libv8_nosnapshot.a +0 -0
  21. data/vendor/v8/out/arm.release/libv8_snapshot.a +0 -0
  22. data/vendor/v8/out/arm.release/obj.target/src/libv8_base.a +0 -0
  23. data/vendor/v8/out/arm.release/obj.target/src/libv8_libbase.a +0 -0
  24. data/vendor/v8/out/arm.release/obj.target/src/libv8_libplatform.a +0 -0
  25. data/vendor/v8/out/arm.release/obj.target/src/libv8_libsampler.a +0 -0
  26. data/vendor/v8/out/arm.release/obj.target/src/libv8_nosnapshot.a +0 -0
  27. data/vendor/v8/out/arm.release/obj.target/src/libv8_snapshot.a +0 -0
  28. metadata +23 -25
  29. data/vendor/v8/include/v8-preparser.h +0 -118
  30. data/vendor/v8/include/v8stdint.h +0 -54
  31. data/vendor/v8/out/arm.release/obj.target/tools/gyp/libpreparser_lib.a +0 -0
  32. data/vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_base.a +0 -0
  33. data/vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_nosnapshot.a +0 -0
  34. data/vendor/v8/out/arm.release/obj.target/tools/gyp/libv8_snapshot.a +0 -0
@@ -1,71 +1,18 @@
1
1
  // Copyright 2010 the V8 project authors. All rights reserved.
2
- // Redistribution and use in source and binary forms, with or without
3
- // modification, are permitted provided that the following conditions are
4
- // met:
5
- //
6
- // * Redistributions of source code must retain the above copyright
7
- // notice, this list of conditions and the following disclaimer.
8
- // * Redistributions in binary form must reproduce the above
9
- // copyright notice, this list of conditions and the following
10
- // disclaimer in the documentation and/or other materials provided
11
- // with the distribution.
12
- // * Neither the name of Google Inc. nor the names of its
13
- // contributors may be used to endorse or promote products derived
14
- // from this software without specific prior written permission.
15
- //
16
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
27
4
 
28
5
  #ifndef V8_V8_TEST_H_
29
6
  #define V8_V8_TEST_H_
30
7
 
31
- #include "v8.h"
32
-
33
- #ifdef _WIN32
34
- // Setup for Windows DLL export/import. See v8.h in this directory for
35
- // information on how to build/use V8 as a DLL.
36
- #if defined(BUILDING_V8_SHARED) && defined(USING_V8_SHARED)
37
- #error both BUILDING_V8_SHARED and USING_V8_SHARED are set - please check the\
38
- build configuration to ensure that at most one of these is set
39
- #endif
40
-
41
- #ifdef BUILDING_V8_SHARED
42
- #define V8EXPORT __declspec(dllexport)
43
- #elif USING_V8_SHARED
44
- #define V8EXPORT __declspec(dllimport)
45
- #else
46
- #define V8EXPORT
47
- #endif
48
-
49
- #else // _WIN32
50
-
51
- // Setup for Linux shared library export. See v8.h in this directory for
52
- // information on how to build/use V8 as shared library.
53
- #if defined(__GNUC__) && ((__GNUC__ >= 4) || \
54
- (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(V8_SHARED)
55
- #define V8EXPORT __attribute__ ((visibility("default")))
56
- #else
57
- #define V8EXPORT
58
- #endif
59
-
60
- #endif // _WIN32
61
-
8
+ #include "v8.h" // NOLINT(build/include)
62
9
 
63
10
  /**
64
11
  * Testing support for the V8 JavaScript engine.
65
12
  */
66
13
  namespace v8 {
67
14
 
68
- class V8EXPORT Testing {
15
+ class V8_EXPORT Testing {
69
16
  public:
70
17
  enum StressType {
71
18
  kStressTypeOpt,
@@ -92,14 +39,10 @@ class V8EXPORT Testing {
92
39
  /**
93
40
  * Force deoptimization of all functions.
94
41
  */
95
- static void DeoptimizeAll();
42
+ static void DeoptimizeAll(Isolate* isolate);
96
43
  };
97
44
 
98
45
 
99
46
  } // namespace v8
100
47
 
101
-
102
- #undef V8EXPORT
103
-
104
-
105
48
  #endif // V8_V8_TEST_H_