@@ -1427,7 +1427,9 @@ class ScriptOriginOptions {
1427
1427
*/
1428
1428
class ScriptOrigin {
1429
1429
public:
1430
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
1430
1431
V8_DEPRECATE_SOON (" Use constructor with primitive C++ types" )
1432
+ #endif
1431
1433
V8_INLINE explicit ScriptOrigin (
1432
1434
Local<Value> resource_name, Local<Integer> resource_line_offset,
1433
1435
Local<Integer> resource_column_offset,
@@ -1438,7 +1440,9 @@ class ScriptOrigin {
1438
1440
Local<Boolean> is_wasm = Local<Boolean>(),
1439
1441
Local<Boolean> is_module = Local<Boolean>(),
1440
1442
Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
1443
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
1441
1444
V8_DEPRECATE_SOON (" Use constructor that takes an isolate" )
1445
+ #endif
1442
1446
V8_INLINE explicit ScriptOrigin (
1443
1447
Local<Value> resource_name, int resource_line_offset = 0 ,
1444
1448
int resource_column_offset = 0 ,
@@ -1938,9 +1942,11 @@ class V8_EXPORT ScriptCompiler {
1938
1942
public:
1939
1943
enum Encoding { ONE_BYTE, TWO_BYTE, UTF8 };
1940
1944
1945
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
1941
1946
V8_DEPRECATED (
1942
1947
" This class takes ownership of source_stream, so use the constructor "
1943
1948
" taking a unique_ptr to make these semantics clearer" )
1949
+ #endif
1944
1950
StreamedSource (ExternalSourceStream* source_stream, Encoding encoding);
1945
1951
StreamedSource (std::unique_ptr<ExternalSourceStream> source_stream,
1946
1952
Encoding encoding);
0 commit comments