libv8 6.2.414.42.1-universal-darwin-17 → 6.3.292.48.1-universal-darwin-17
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/v8-inspector.h +2 -0
- data/vendor/v8/include/v8-platform.h +1 -4
- data/vendor/v8/include/v8-version-string.h +5 -1
- data/vendor/v8/include/v8-version.h +3 -3
- data/vendor/v8/include/v8.h +100 -34
- data/vendor/v8/out/x64.release/libv8_base.a +0 -0
- data/vendor/v8/out/x64.release/libv8_init.a +0 -0
- data/vendor/v8/out/x64.release/libv8_initializers.a +0 -0
- data/vendor/v8/out/x64.release/libv8_libbase.a +0 -0
- data/vendor/v8/out/x64.release/libv8_libplatform.a +0 -0
- data/vendor/v8/out/x64.release/libv8_nosnapshot.a +0 -0
- data/vendor/v8/out/x64.release/libv8_snapshot.a +0 -0
- metadata +4 -4
- data/vendor/v8/out/x64.release/libv8_builtins_generators.a +0 -0
- data/vendor/v8/out/x64.release/libv8_builtins_setup.a +0 -0
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 8f52bedf6f07f357f49fa7b9b82a83aa06305e94
         | 
| 4 | 
            +
              data.tar.gz: 38da8290a23c08c7763b03cb62d156dd6d3148d3
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 520941da8c8ced60c6e2bb68847087e1c8d69bd5f66349eb8937cdfe642468a660f7c020b74157b3a19f0a5a867b91a2d34d1dcad406a01c3f4ea59956489525
         | 
| 7 | 
            +
              data.tar.gz: aca94197e08088a9908b4130d8ffa1006f73589c068494cf4dc459e929bd9ca33b58e1671d40d536cbd16e067adc40c83349ae0bf5a568beb49a2e0fd4fa4c4b
         | 
    
        data/lib/libv8/version.rb
    CHANGED
    
    
| @@ -211,6 +211,8 @@ class V8_EXPORT V8InspectorClient { | |
| 211 211 | 
             
              // TODO(dgozman): this was added to support service worker shadow page. We
         | 
| 212 212 | 
             
              // should not connect at all.
         | 
| 213 213 | 
             
              virtual bool canExecuteScripts(int contextGroupId) { return true; }
         | 
| 214 | 
            +
             | 
| 215 | 
            +
              virtual void maxAsyncCallStackDepthChanged(int depth) {}
         | 
| 214 216 | 
             
            };
         | 
| 215 217 |  | 
| 216 218 | 
             
            class V8_EXPORT V8Inspector {
         | 
| @@ -209,10 +209,7 @@ class Platform { | |
| 209 209 | 
             
               * Current wall-clock time in milliseconds since epoch.
         | 
| 210 210 | 
             
               * This function is expected to return at least millisecond-precision values.
         | 
| 211 211 | 
             
               */
         | 
| 212 | 
            -
              virtual double CurrentClockTimeMillis()  | 
| 213 | 
            -
                // TODO(dats): Make pure virtual after V8 roll in Chromium.
         | 
| 214 | 
            -
                return 0.0;
         | 
| 215 | 
            -
              }
         | 
| 212 | 
            +
              virtual double CurrentClockTimeMillis() = 0;
         | 
| 216 213 |  | 
| 217 214 | 
             
              typedef void (*StackTracePrinter)();
         | 
| 218 215 |  | 
| @@ -16,6 +16,10 @@ | |
| 16 16 | 
             
            #define V8_CANDIDATE_STRING ""
         | 
| 17 17 | 
             
            #endif
         | 
| 18 18 |  | 
| 19 | 
            +
            #ifndef V8_EMBEDDER_STRING
         | 
| 20 | 
            +
            #define V8_EMBEDDER_STRING ""
         | 
| 21 | 
            +
            #endif
         | 
| 22 | 
            +
             | 
| 19 23 | 
             
            #define V8_SX(x) #x
         | 
| 20 24 | 
             
            #define V8_S(x) V8_SX(x)
         | 
| 21 25 |  | 
| @@ -23,7 +27,7 @@ | |
| 23 27 | 
             
            #define V8_VERSION_STRING                                        \
         | 
| 24 28 | 
             
              V8_S(V8_MAJOR_VERSION)                                         \
         | 
| 25 29 | 
             
              "." V8_S(V8_MINOR_VERSION) "." V8_S(V8_BUILD_NUMBER) "." V8_S( \
         | 
| 26 | 
            -
                  V8_PATCH_LEVEL) V8_CANDIDATE_STRING
         | 
| 30 | 
            +
                  V8_PATCH_LEVEL) V8_EMBEDDER_STRING V8_CANDIDATE_STRING
         | 
| 27 31 | 
             
            #else
         | 
| 28 32 | 
             
            #define V8_VERSION_STRING \
         | 
| 29 33 | 
             
              V8_S(V8_MAJOR_VERSION)  \
         | 
| @@ -9,9 +9,9 @@ | |
| 9 9 | 
             
            // NOTE these macros are used by some of the tool scripts and the build
         | 
| 10 10 | 
             
            // system so their names cannot be changed without changing the scripts.
         | 
| 11 11 | 
             
            #define V8_MAJOR_VERSION 6
         | 
| 12 | 
            -
            #define V8_MINOR_VERSION  | 
| 13 | 
            -
            #define V8_BUILD_NUMBER  | 
| 14 | 
            -
            #define V8_PATCH_LEVEL  | 
| 12 | 
            +
            #define V8_MINOR_VERSION 3
         | 
| 13 | 
            +
            #define V8_BUILD_NUMBER 292
         | 
| 14 | 
            +
            #define V8_PATCH_LEVEL 48
         | 
| 15 15 |  | 
| 16 16 | 
             
            // Use 1 for candidates and 0 otherwise.
         | 
| 17 17 | 
             
            // (Boolean macro values are not supported by all preprocessors.)
         | 
    
        data/vendor/v8/include/v8.h
    CHANGED
    
    | @@ -104,6 +104,7 @@ class String; | |
| 104 104 | 
             
            class StringObject;
         | 
| 105 105 | 
             
            class Symbol;
         | 
| 106 106 | 
             
            class SymbolObject;
         | 
| 107 | 
            +
            class PrimitiveArray;
         | 
| 107 108 | 
             
            class Private;
         | 
| 108 109 | 
             
            class Uint32;
         | 
| 109 110 | 
             
            class Utils;
         | 
| @@ -149,6 +150,10 @@ template<typename T> class CustomArguments; | |
| 149 150 | 
             
            class PropertyCallbackArguments;
         | 
| 150 151 | 
             
            class FunctionCallbackArguments;
         | 
| 151 152 | 
             
            class GlobalHandles;
         | 
| 153 | 
            +
             | 
| 154 | 
            +
            namespace wasm {
         | 
| 155 | 
            +
            class StreamingDecoder;
         | 
| 156 | 
            +
            }  // namespace wasm
         | 
| 152 157 | 
             
            }  // namespace internal
         | 
| 153 158 |  | 
| 154 159 | 
             
            namespace debug {
         | 
| @@ -978,6 +983,48 @@ class V8_EXPORT Data { | |
| 978 983 | 
             
              Data();
         | 
| 979 984 | 
             
            };
         | 
| 980 985 |  | 
| 986 | 
            +
            /**
         | 
| 987 | 
            +
             * This is an unfinished experimental feature, and is only exposed
         | 
| 988 | 
            +
             * here for internal testing purposes. DO NOT USE.
         | 
| 989 | 
            +
             *
         | 
| 990 | 
            +
             * A container type that holds relevant metadata for module loading.
         | 
| 991 | 
            +
             *
         | 
| 992 | 
            +
             * This is passed back to the embedder as part of
         | 
| 993 | 
            +
             * HostImportModuleDynamicallyCallback for module loading.
         | 
| 994 | 
            +
             */
         | 
| 995 | 
            +
            class V8_EXPORT ScriptOrModule {
         | 
| 996 | 
            +
             public:
         | 
| 997 | 
            +
              /**
         | 
| 998 | 
            +
               * The name that was passed by the embedder as ResourceName to the
         | 
| 999 | 
            +
               * ScriptOrigin. This can be either a v8::String or v8::Undefined.
         | 
| 1000 | 
            +
               */
         | 
| 1001 | 
            +
              Local<Value> GetResourceName();
         | 
| 1002 | 
            +
             | 
| 1003 | 
            +
              /**
         | 
| 1004 | 
            +
               * The options that were passed by the embedder as HostDefinedOptions to
         | 
| 1005 | 
            +
               * the ScriptOrigin.
         | 
| 1006 | 
            +
               */
         | 
| 1007 | 
            +
              Local<PrimitiveArray> GetHostDefinedOptions();
         | 
| 1008 | 
            +
            };
         | 
| 1009 | 
            +
             | 
| 1010 | 
            +
            /**
         | 
| 1011 | 
            +
             * This is an unfinished experimental feature, and is only exposed
         | 
| 1012 | 
            +
             * here for internal testing purposes. DO NOT USE.
         | 
| 1013 | 
            +
             *
         | 
| 1014 | 
            +
             * An array to hold Primitive values. This is used by the embedder to
         | 
| 1015 | 
            +
             * pass host defined options to the ScriptOptions during compilation.
         | 
| 1016 | 
            +
             *
         | 
| 1017 | 
            +
             * This is passed back to the embedder as part of
         | 
| 1018 | 
            +
             * HostImportModuleDynamicallyCallback for module loading.
         | 
| 1019 | 
            +
             *
         | 
| 1020 | 
            +
             */
         | 
| 1021 | 
            +
            class V8_EXPORT PrimitiveArray {
         | 
| 1022 | 
            +
             public:
         | 
| 1023 | 
            +
              static Local<PrimitiveArray> New(Isolate* isolate, int length);
         | 
| 1024 | 
            +
              int Length() const;
         | 
| 1025 | 
            +
              void Set(int index, Local<Primitive> item);
         | 
| 1026 | 
            +
              Local<Primitive> Get(int index);
         | 
| 1027 | 
            +
            };
         | 
| 981 1028 |  | 
| 982 1029 | 
             
            /**
         | 
| 983 1030 | 
             
             * The optional attributes of ScriptOrigin.
         | 
| @@ -1027,13 +1074,15 @@ class ScriptOrigin { | |
| 1027 1074 | 
             
                  Local<Value> source_map_url = Local<Value>(),
         | 
| 1028 1075 | 
             
                  Local<Boolean> resource_is_opaque = Local<Boolean>(),
         | 
| 1029 1076 | 
             
                  Local<Boolean> is_wasm = Local<Boolean>(),
         | 
| 1030 | 
            -
                  Local<Boolean> is_module = Local<Boolean>() | 
| 1077 | 
            +
                  Local<Boolean> is_module = Local<Boolean>(),
         | 
| 1078 | 
            +
                  Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
         | 
| 1031 1079 |  | 
| 1032 1080 | 
             
              V8_INLINE Local<Value> ResourceName() const;
         | 
| 1033 1081 | 
             
              V8_INLINE Local<Integer> ResourceLineOffset() const;
         | 
| 1034 1082 | 
             
              V8_INLINE Local<Integer> ResourceColumnOffset() const;
         | 
| 1035 1083 | 
             
              V8_INLINE Local<Integer> ScriptID() const;
         | 
| 1036 1084 | 
             
              V8_INLINE Local<Value> SourceMapUrl() const;
         | 
| 1085 | 
            +
              V8_INLINE Local<PrimitiveArray> HostDefinedOptions() const;
         | 
| 1037 1086 | 
             
              V8_INLINE ScriptOriginOptions Options() const { return options_; }
         | 
| 1038 1087 |  | 
| 1039 1088 | 
             
             private:
         | 
| @@ -1043,6 +1092,7 @@ class ScriptOrigin { | |
| 1043 1092 | 
             
              ScriptOriginOptions options_;
         | 
| 1044 1093 | 
             
              Local<Integer> script_id_;
         | 
| 1045 1094 | 
             
              Local<Value> source_map_url_;
         | 
| 1095 | 
            +
              Local<PrimitiveArray> host_defined_options_;
         | 
| 1046 1096 | 
             
            };
         | 
| 1047 1097 |  | 
| 1048 1098 | 
             
            /**
         | 
| @@ -1289,6 +1339,7 @@ class V8_EXPORT ScriptCompiler { | |
| 1289 1339 | 
             
                Local<Integer> resource_column_offset;
         | 
| 1290 1340 | 
             
                ScriptOriginOptions resource_options;
         | 
| 1291 1341 | 
             
                Local<Value> source_map_url;
         | 
| 1342 | 
            +
                Local<PrimitiveArray> host_defined_options;
         | 
| 1292 1343 |  | 
| 1293 1344 | 
             
                // Cached data from previous compilation (if a kConsume*Cache flag is
         | 
| 1294 1345 | 
             
                // set), or hold newly generated cache data (kProduce*Cache flags) are
         | 
| @@ -1385,6 +1436,7 @@ class V8_EXPORT ScriptCompiler { | |
| 1385 1436 | 
             
                kProduceParserCache,
         | 
| 1386 1437 | 
             
                kConsumeParserCache,
         | 
| 1387 1438 | 
             
                kProduceCodeCache,
         | 
| 1439 | 
            +
                kProduceFullCodeCache,
         | 
| 1388 1440 | 
             
                kConsumeCodeCache
         | 
| 1389 1441 | 
             
              };
         | 
| 1390 1442 |  | 
| @@ -1782,7 +1834,7 @@ class V8_EXPORT JSON { | |
| 1782 1834 | 
             
               * \return The corresponding string if successfully stringified.
         | 
| 1783 1835 | 
             
               */
         | 
| 1784 1836 | 
             
              static V8_WARN_UNUSED_RESULT MaybeLocal<String> Stringify(
         | 
| 1785 | 
            -
                  Local<Context> context, Local< | 
| 1837 | 
            +
                  Local<Context> context, Local<Value> json_object,
         | 
| 1786 1838 | 
             
                  Local<String> gap = Local<String>());
         | 
| 1787 1839 | 
             
            };
         | 
| 1788 1840 |  | 
| @@ -4217,6 +4269,7 @@ class V8_EXPORT WasmModuleObjectBuilderStreaming final { | |
| 4217 4269 | 
             
            #endif
         | 
| 4218 4270 | 
             
              std::vector<Buffer> received_buffers_;
         | 
| 4219 4271 | 
             
              size_t total_size_ = 0;
         | 
| 4272 | 
            +
              std::shared_ptr<internal::wasm::StreamingDecoder> streaming_decoder_;
         | 
| 4220 4273 | 
             
            };
         | 
| 4221 4274 |  | 
| 4222 4275 | 
             
            class V8_EXPORT WasmModuleObjectBuilder final {
         | 
| @@ -5129,6 +5182,8 @@ typedef void (*NamedPropertyDeleterCallback)( | |
| 5129 5182 | 
             
            /**
         | 
| 5130 5183 | 
             
             * Returns an array containing the names of the properties the named
         | 
| 5131 5184 | 
             
             * property getter intercepts.
         | 
| 5185 | 
            +
             *
         | 
| 5186 | 
            +
             * Note: The values in the array must be of type v8::Name.
         | 
| 5132 5187 | 
             
             */
         | 
| 5133 5188 | 
             
            typedef void (*NamedPropertyEnumeratorCallback)(
         | 
| 5134 5189 | 
             
                const PropertyCallbackInfo<Array>& info);
         | 
| @@ -5252,6 +5307,8 @@ typedef void (*GenericNamedPropertyDeleterCallback)( | |
| 5252 5307 | 
             
            /**
         | 
| 5253 5308 | 
             
             * Returns an array containing the names of the properties the named
         | 
| 5254 5309 | 
             
             * property getter intercepts.
         | 
| 5310 | 
            +
             *
         | 
| 5311 | 
            +
             * Note: The values in the array must be of type v8::Name.
         | 
| 5255 5312 | 
             
             */
         | 
| 5256 5313 | 
             
            typedef void (*GenericNamedPropertyEnumeratorCallback)(
         | 
| 5257 5314 | 
             
                const PropertyCallbackInfo<Array>& info);
         | 
| @@ -5332,7 +5389,10 @@ typedef void (*IndexedPropertyDeleterCallback)( | |
| 5332 5389 | 
             
                const PropertyCallbackInfo<Boolean>& info);
         | 
| 5333 5390 |  | 
| 5334 5391 | 
             
            /**
         | 
| 5335 | 
            -
             *  | 
| 5392 | 
            +
             * Returns an array containing the indices of the properties the indexed
         | 
| 5393 | 
            +
             * property getter intercepts.
         | 
| 5394 | 
            +
             *
         | 
| 5395 | 
            +
             * Note: The values in the array must be uint32_t.
         | 
| 5336 5396 | 
             
             */
         | 
| 5337 5397 | 
             
            typedef void (*IndexedPropertyEnumeratorCallback)(
         | 
| 5338 5398 | 
             
                const PropertyCallbackInfo<Array>& info);
         | 
| @@ -6135,6 +6195,9 @@ typedef void (*FatalErrorCallback)(const char* location, const char* message); | |
| 6135 6195 |  | 
| 6136 6196 | 
             
            typedef void (*OOMErrorCallback)(const char* location, bool is_heap_oom);
         | 
| 6137 6197 |  | 
| 6198 | 
            +
            typedef void (*DcheckErrorCallback)(const char* file, int line,
         | 
| 6199 | 
            +
                                                const char* message);
         | 
| 6200 | 
            +
             | 
| 6138 6201 | 
             
            typedef void (*MessageCallback)(Local<Message> message, Local<Value> data);
         | 
| 6139 6202 |  | 
| 6140 6203 | 
             
            // --- Tracing ---
         | 
| @@ -6205,12 +6268,12 @@ typedef void (*CallCompletedCallback)(Isolate*); | |
| 6205 6268 | 
             
            typedef void (*DeprecatedCallCompletedCallback)();
         | 
| 6206 6269 |  | 
| 6207 6270 | 
             
            /**
         | 
| 6208 | 
            -
             *  | 
| 6271 | 
            +
             * HostImportModuleDynamicallyCallback is called when we require the
         | 
| 6209 6272 | 
             
             * embedder to load a module. This is used as part of the dynamic
         | 
| 6210 6273 | 
             
             * import syntax.
         | 
| 6211 6274 | 
             
             *
         | 
| 6212 | 
            -
             * The referrer  | 
| 6213 | 
            -
             * import. | 
| 6275 | 
            +
             * The referrer contains metadata about the script/module that calls
         | 
| 6276 | 
            +
             * import.
         | 
| 6214 6277 | 
             
             *
         | 
| 6215 6278 | 
             
             * The specifier is the name of the module that should be imported.
         | 
| 6216 6279 | 
             
             *
         | 
| @@ -6225,7 +6288,8 @@ typedef void (*DeprecatedCallCompletedCallback)(); | |
| 6225 6288 | 
             
             * that exception by returning an empty MaybeLocal.
         | 
| 6226 6289 | 
             
             */
         | 
| 6227 6290 | 
             
            typedef MaybeLocal<Promise> (*HostImportModuleDynamicallyCallback)(
         | 
| 6228 | 
            -
                Local<Context> context, Local< | 
| 6291 | 
            +
                Local<Context> context, Local<ScriptOrModule> referrer,
         | 
| 6292 | 
            +
                Local<String> specifier);
         | 
| 6229 6293 |  | 
| 6230 6294 | 
             
            /**
         | 
| 6231 6295 | 
             
             * PromiseHook with type kInit is called when a new promise is
         | 
| @@ -6984,6 +7048,7 @@ class V8_EXPORT Isolate { | |
| 6984 7048 | 
             
                kPromiseConstructorReturnedUndefined = 38,
         | 
| 6985 7049 | 
             
                kConstructorNonUndefinedPrimitiveReturn = 39,
         | 
| 6986 7050 | 
             
                kLabeledExpressionStatement = 40,
         | 
| 7051 | 
            +
                kLineOrParagraphSeparatorAsLineTerminator = 41,
         | 
| 6987 7052 |  | 
| 6988 7053 | 
             
                // If you add new values here, you'll also need to update Chromium's:
         | 
| 6989 7054 | 
             
                // UseCounter.h, V8PerIsolateData.cpp, histograms.xml
         | 
| @@ -7259,6 +7324,8 @@ class V8_EXPORT Isolate { | |
| 7259 7324 |  | 
| 7260 7325 | 
             
              typedef void (*GCCallback)(Isolate* isolate, GCType type,
         | 
| 7261 7326 | 
             
                                         GCCallbackFlags flags);
         | 
| 7327 | 
            +
              typedef void (*GCCallbackWithData)(Isolate* isolate, GCType type,
         | 
| 7328 | 
            +
                                                 GCCallbackFlags flags, void* data);
         | 
| 7262 7329 |  | 
| 7263 7330 | 
             
              /**
         | 
| 7264 7331 | 
             
               * Enables the host application to receive a notification before a
         | 
| @@ -7269,6 +7336,8 @@ class V8_EXPORT Isolate { | |
| 7269 7336 | 
             
               * not possible to register the same callback function two times with
         | 
| 7270 7337 | 
             
               * different GCType filters.
         | 
| 7271 7338 | 
             
               */
         | 
| 7339 | 
            +
              void AddGCPrologueCallback(GCCallbackWithData callback, void* data = nullptr,
         | 
| 7340 | 
            +
                                         GCType gc_type_filter = kGCTypeAll);
         | 
| 7272 7341 | 
             
              void AddGCPrologueCallback(GCCallback callback,
         | 
| 7273 7342 | 
             
                                         GCType gc_type_filter = kGCTypeAll);
         | 
| 7274 7343 |  | 
| @@ -7276,6 +7345,7 @@ class V8_EXPORT Isolate { | |
| 7276 7345 | 
             
               * This function removes callback which was installed by
         | 
| 7277 7346 | 
             
               * AddGCPrologueCallback function.
         | 
| 7278 7347 | 
             
               */
         | 
| 7348 | 
            +
              void RemoveGCPrologueCallback(GCCallbackWithData, void* data = nullptr);
         | 
| 7279 7349 | 
             
              void RemoveGCPrologueCallback(GCCallback callback);
         | 
| 7280 7350 |  | 
| 7281 7351 | 
             
              /**
         | 
| @@ -7292,6 +7362,8 @@ class V8_EXPORT Isolate { | |
| 7292 7362 | 
             
               * not possible to register the same callback function two times with
         | 
| 7293 7363 | 
             
               * different GCType filters.
         | 
| 7294 7364 | 
             
               */
         | 
| 7365 | 
            +
              void AddGCEpilogueCallback(GCCallbackWithData callback, void* data = nullptr,
         | 
| 7366 | 
            +
                                         GCType gc_type_filter = kGCTypeAll);
         | 
| 7295 7367 | 
             
              void AddGCEpilogueCallback(GCCallback callback,
         | 
| 7296 7368 | 
             
                                         GCType gc_type_filter = kGCTypeAll);
         | 
| 7297 7369 |  | 
| @@ -7299,6 +7371,8 @@ class V8_EXPORT Isolate { | |
| 7299 7371 | 
             
               * This function removes callback which was installed by
         | 
| 7300 7372 | 
             
               * AddGCEpilogueCallback function.
         | 
| 7301 7373 | 
             
               */
         | 
| 7374 | 
            +
              void RemoveGCEpilogueCallback(GCCallbackWithData callback,
         | 
| 7375 | 
            +
                                            void* data = nullptr);
         | 
| 7302 7376 | 
             
              void RemoveGCEpilogueCallback(GCCallback callback);
         | 
| 7303 7377 |  | 
| 7304 7378 | 
             
              typedef size_t (*GetExternallyAllocatedMemoryInBytesCallback)();
         | 
| @@ -7830,6 +7904,9 @@ class V8_EXPORT V8 { | |
| 7830 7904 | 
             
              static StartupData WarmUpSnapshotDataBlob(StartupData cold_startup_blob,
         | 
| 7831 7905 | 
             
                                                        const char* warmup_source);
         | 
| 7832 7906 |  | 
| 7907 | 
            +
              /** Set the callback to invoke in case of Dcheck failures. */
         | 
| 7908 | 
            +
              static void SetDcheckErrorHandler(DcheckErrorCallback that);
         | 
| 7909 | 
            +
             | 
| 7833 7910 | 
             
              /**
         | 
| 7834 7911 | 
             
               * Adds a message listener.
         | 
| 7835 7912 | 
             
               *
         | 
| @@ -7899,9 +7976,8 @@ class V8_EXPORT V8 { | |
| 7899 7976 | 
             
               * This function removes callback which was installed by
         | 
| 7900 7977 | 
             
               * AddGCPrologueCallback function.
         | 
| 7901 7978 | 
             
               */
         | 
| 7902 | 
            -
               | 
| 7903 | 
            -
             | 
| 7904 | 
            -
                  void RemoveGCPrologueCallback(GCCallback callback));
         | 
| 7979 | 
            +
              static V8_DEPRECATED("Use isolate version",
         | 
| 7980 | 
            +
                                   void RemoveGCPrologueCallback(GCCallback callback));
         | 
| 7905 7981 |  | 
| 7906 7982 | 
             
              /**
         | 
| 7907 7983 | 
             
               * Enables the host application to receive a notification after a
         | 
| @@ -7922,9 +7998,8 @@ class V8_EXPORT V8 { | |
| 7922 7998 | 
             
               * This function removes callback which was installed by
         | 
| 7923 7999 | 
             
               * AddGCEpilogueCallback function.
         | 
| 7924 8000 | 
             
               */
         | 
| 7925 | 
            -
               | 
| 7926 | 
            -
             | 
| 7927 | 
            -
                  void RemoveGCEpilogueCallback(GCCallback callback));
         | 
| 8001 | 
            +
              static V8_DEPRECATED("Use isolate version",
         | 
| 8002 | 
            +
                                   void RemoveGCEpilogueCallback(GCCallback callback));
         | 
| 7928 8003 |  | 
| 7929 8004 | 
             
              /**
         | 
| 7930 8005 | 
             
               * Initializes V8. This function needs to be called before the first Isolate
         | 
| @@ -9012,11 +9087,11 @@ class Internals { | |
| 9012 9087 | 
             
              static const int kNodeIsIndependentShift = 3;
         | 
| 9013 9088 | 
             
              static const int kNodeIsActiveShift = 4;
         | 
| 9014 9089 |  | 
| 9015 | 
            -
              static const int kJSApiObjectType = 0xbd;
         | 
| 9016 | 
            -
              static const int kJSObjectType = 0xbe;
         | 
| 9017 9090 | 
             
              static const int kFirstNonstringType = 0x80;
         | 
| 9018 | 
            -
              static const int kOddballType =  | 
| 9019 | 
            -
              static const int kForeignType =  | 
| 9091 | 
            +
              static const int kOddballType = 0x83;
         | 
| 9092 | 
            +
              static const int kForeignType = 0x87;
         | 
| 9093 | 
            +
              static const int kJSApiObjectType = 0xbf;
         | 
| 9094 | 
            +
              static const int kJSObjectType = 0xc0;
         | 
| 9020 9095 |  | 
| 9021 9096 | 
             
              static const int kUndefinedOddballKind = 5;
         | 
| 9022 9097 | 
             
              static const int kNullOddballKind = 3;
         | 
| @@ -9536,7 +9611,8 @@ ScriptOrigin::ScriptOrigin(Local<Value> resource_name, | |
| 9536 9611 | 
             
                                       Local<Integer> script_id,
         | 
| 9537 9612 | 
             
                                       Local<Value> source_map_url,
         | 
| 9538 9613 | 
             
                                       Local<Boolean> resource_is_opaque,
         | 
| 9539 | 
            -
                                       Local<Boolean> is_wasm, Local<Boolean> is_module | 
| 9614 | 
            +
                                       Local<Boolean> is_wasm, Local<Boolean> is_module,
         | 
| 9615 | 
            +
                                       Local<PrimitiveArray> host_defined_options)
         | 
| 9540 9616 | 
             
                : resource_name_(resource_name),
         | 
| 9541 9617 | 
             
                  resource_line_offset_(resource_line_offset),
         | 
| 9542 9618 | 
             
                  resource_column_offset_(resource_column_offset),
         | 
| @@ -9546,10 +9622,14 @@ ScriptOrigin::ScriptOrigin(Local<Value> resource_name, | |
| 9546 9622 | 
             
                           !is_wasm.IsEmpty() && is_wasm->IsTrue(),
         | 
| 9547 9623 | 
             
                           !is_module.IsEmpty() && is_module->IsTrue()),
         | 
| 9548 9624 | 
             
                  script_id_(script_id),
         | 
| 9549 | 
            -
                  source_map_url_(source_map_url) | 
| 9625 | 
            +
                  source_map_url_(source_map_url),
         | 
| 9626 | 
            +
                  host_defined_options_(host_defined_options) {}
         | 
| 9550 9627 |  | 
| 9551 9628 | 
             
            Local<Value> ScriptOrigin::ResourceName() const { return resource_name_; }
         | 
| 9552 9629 |  | 
| 9630 | 
            +
            Local<PrimitiveArray> ScriptOrigin::HostDefinedOptions() const {
         | 
| 9631 | 
            +
              return host_defined_options_;
         | 
| 9632 | 
            +
            }
         | 
| 9553 9633 |  | 
| 9554 9634 | 
             
            Local<Integer> ScriptOrigin::ResourceLineOffset() const {
         | 
| 9555 9635 | 
             
              return resource_line_offset_;
         | 
| @@ -9566,7 +9646,6 @@ Local<Integer> ScriptOrigin::ScriptID() const { return script_id_; } | |
| 9566 9646 |  | 
| 9567 9647 | 
             
            Local<Value> ScriptOrigin::SourceMapUrl() const { return source_map_url_; }
         | 
| 9568 9648 |  | 
| 9569 | 
            -
             | 
| 9570 9649 | 
             
            ScriptCompiler::Source::Source(Local<String> string, const ScriptOrigin& origin,
         | 
| 9571 9650 | 
             
                                           CachedData* data)
         | 
| 9572 9651 | 
             
                : source_string(string),
         | 
| @@ -9575,9 +9654,9 @@ ScriptCompiler::Source::Source(Local<String> string, const ScriptOrigin& origin, | |
| 9575 9654 | 
             
                  resource_column_offset(origin.ResourceColumnOffset()),
         | 
| 9576 9655 | 
             
                  resource_options(origin.Options()),
         | 
| 9577 9656 | 
             
                  source_map_url(origin.SourceMapUrl()),
         | 
| 9657 | 
            +
                  host_defined_options(origin.HostDefinedOptions()),
         | 
| 9578 9658 | 
             
                  cached_data(data) {}
         | 
| 9579 9659 |  | 
| 9580 | 
            -
             | 
| 9581 9660 | 
             
            ScriptCompiler::Source::Source(Local<String> string,
         | 
| 9582 9661 | 
             
                                           CachedData* data)
         | 
| 9583 9662 | 
             
                : source_string(string), cached_data(data) {}
         | 
| @@ -10304,19 +10383,6 @@ void V8::SetFatalErrorHandler(FatalErrorCallback callback) { | |
| 10304 10383 | 
             
              isolate->SetFatalErrorHandler(callback);
         | 
| 10305 10384 | 
             
            }
         | 
| 10306 10385 |  | 
| 10307 | 
            -
            void V8::RemoveGCPrologueCallback(GCCallback callback) {
         | 
| 10308 | 
            -
              Isolate* isolate = Isolate::GetCurrent();
         | 
| 10309 | 
            -
              isolate->RemoveGCPrologueCallback(
         | 
| 10310 | 
            -
                  reinterpret_cast<Isolate::GCCallback>(callback));
         | 
| 10311 | 
            -
            }
         | 
| 10312 | 
            -
             | 
| 10313 | 
            -
             | 
| 10314 | 
            -
            void V8::RemoveGCEpilogueCallback(GCCallback callback) {
         | 
| 10315 | 
            -
              Isolate* isolate = Isolate::GetCurrent();
         | 
| 10316 | 
            -
              isolate->RemoveGCEpilogueCallback(
         | 
| 10317 | 
            -
                  reinterpret_cast<Isolate::GCCallback>(callback));
         | 
| 10318 | 
            -
            }
         | 
| 10319 | 
            -
             | 
| 10320 10386 | 
             
            void V8::TerminateExecution(Isolate* isolate) { isolate->TerminateExecution(); }
         | 
| 10321 10387 |  | 
| 10322 10388 |  | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: libv8
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 6. | 
| 4 | 
            +
              version: 6.3.292.48.1
         | 
| 5 5 | 
             
            platform: universal-darwin-17
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Charles Lowell
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2017-12- | 
| 11 | 
            +
            date: 2017-12-20 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rake
         | 
| @@ -82,8 +82,8 @@ files: | |
| 82 82 | 
             
            - vendor/v8/include/v8.h
         | 
| 83 83 | 
             
            - vendor/v8/include/v8config.h
         | 
| 84 84 | 
             
            - vendor/v8/out/x64.release/libv8_base.a
         | 
| 85 | 
            -
            - vendor/v8/out/x64.release/ | 
| 86 | 
            -
            - vendor/v8/out/x64.release/ | 
| 85 | 
            +
            - vendor/v8/out/x64.release/libv8_init.a
         | 
| 86 | 
            +
            - vendor/v8/out/x64.release/libv8_initializers.a
         | 
| 87 87 | 
             
            - vendor/v8/out/x64.release/libv8_libbase.a
         | 
| 88 88 | 
             
            - vendor/v8/out/x64.release/libv8_libplatform.a
         | 
| 89 89 | 
             
            - vendor/v8/out/x64.release/libv8_libsampler.a
         | 
| Binary file | 
| Binary file |