summaryrefslogtreecommitdiff
path: root/deps/v8/include/v8-message.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/include/v8-message.h')
-rw-r--r--deps/v8/include/v8-message.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/include/v8-message.h b/deps/v8/include/v8-message.h
index 62b6bd92f9..be427e79cf 100644
--- a/deps/v8/include/v8-message.h
+++ b/deps/v8/include/v8-message.h
@@ -60,7 +60,9 @@ class ScriptOriginOptions {
*/
class V8_EXPORT ScriptOrigin {
public:
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
V8_DEPRECATE_SOON("Use constructor with primitive C++ types")
+ #endif
ScriptOrigin(
Local<Value> resource_name, Local<Integer> resource_line_offset,
Local<Integer> resource_column_offset,
@@ -71,7 +73,9 @@ class V8_EXPORT ScriptOrigin {
Local<Boolean> is_wasm = Local<Boolean>(),
Local<Boolean> is_module = Local<Boolean>(),
Local<PrimitiveArray> host_defined_options = Local<PrimitiveArray>());
+ #if defined(_MSC_VER) && _MSC_VER >= 1910 /* Disable on VS2015 */
V8_DEPRECATE_SOON("Use constructor that takes an isolate")
+ #endif
explicit ScriptOrigin(
Local<Value> resource_name, int resource_line_offset = 0,
int resource_column_offset = 0,