@@ -1440,7 +1440,9 @@ class ScriptOriginOptions {
1440
1440
*/
1441
1441
class ScriptOrigin {
1442
1442
public:
1443
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
1443
1444
V8_DEPRECATE_SOON (" Use constructor with primitive C++ types" )
1445
+ #endif
1444
1446
V8_INLINE explicit ScriptOrigin (
1445
1447
Local<Value> resource_name, Local<Integer> resource_line_offset,
1446
1448
Local<Integer> resource_column_offset,
@@ -1451,7 +1453,9 @@ class ScriptOrigin {
1451
1453
Local<Boolean> is_wasm = Local<Boolean>(),
1452
1454
Local<Boolean> is_module = Local<Boolean>(),
1453
1455
Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
1456
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
1454
1457
V8_DEPRECATE_SOON (" Use constructor that takes an isolate" )
1458
+ #endif
1455
1459
V8_INLINE explicit ScriptOrigin (
1456
1460
Local<Value> resource_name, int resource_line_offset = 0 ,
1457
1461
int resource_column_offset = 0 ,
@@ -1953,9 +1957,11 @@ class V8_EXPORT ScriptCompiler {
1953
1957
public:
1954
1958
enum Encoding { ONE_BYTE, TWO_BYTE, UTF8, WINDOWS_1252 };
1955
1959
1960
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
1956
1961
V8_DEPRECATED (
1957
1962
" This class takes ownership of source_stream, so use the constructor "
1958
1963
" taking a unique_ptr to make these semantics clearer" )
1964
+ #endif
1959
1965
StreamedSource (ExternalSourceStream* source_stream, Encoding encoding);
1960
1966
StreamedSource (std::unique_ptr<ExternalSourceStream> source_stream,
1961
1967
Encoding encoding);
0 commit comments