diff --git a/patches/common/v8/.patches b/patches/common/v8/.patches index 0e07c345a67d..d575f05774c1 100644 --- a/patches/common/v8/.patches +++ b/patches/common/v8/.patches @@ -2,10 +2,8 @@ deps_backport_detailed_line_info_for_cpu_profiler.patch add_realloc.patch build_gn.patch array_buffer.patch -ostreams.patch export_platform.patch dcheck.patch -disable-warning-win.patch expose_mksnapshot.patch build-torque-with-x64-toolchain-on-arm.patch do_not_run_arm_arm64_mksnapshot_binaries.patch diff --git a/patches/common/v8/disable-warning-win.patch b/patches/common/v8/disable-warning-win.patch deleted file mode 100644 index 7aaa1125fde1..000000000000 --- a/patches/common/v8/disable-warning-win.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Nitish Sakhawalkar -Date: Mon, 22 Oct 2018 10:47:12 -0700 -Subject: disable-warning-win.patch - -Disable unit test windows build warning - -diff --git a/test/unittests/base/bits-unittest.cc b/test/unittests/base/bits-unittest.cc -index 6f787eb72783570812f7cbda57b836df56b5f2cb..c36dfcc836d6351d11d2178a8e6c3556b3ff3422 100644 ---- a/test/unittests/base/bits-unittest.cc -+++ b/test/unittests/base/bits-unittest.cc -@@ -13,7 +13,9 @@ - #else - #define DISABLE_IN_RELEASE(Name) DISABLED_##Name - #endif -- -+#ifdef _WIN32 -+#pragma warning(disable:4724 4723) // Disable potential divide by 0 warnings -+#endif - namespace v8 { - namespace base { - namespace bits { diff --git a/patches/common/v8/ostreams.patch b/patches/common/v8/ostreams.patch deleted file mode 100644 index 82b48e3fb4a6..000000000000 --- a/patches/common/v8/ostreams.patch +++ /dev/null @@ -1,19 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Cheng Zhao -Date: Mon, 22 Oct 2018 10:47:12 -0700 -Subject: ostreams.patch - - -diff --git a/src/ostreams.h b/src/ostreams.h -index 189f5384b99438f3dad1d77a0836ceb45f6ed938..83a5930d4bd690dde01749bcd88acb11d75aa0cb 100644 ---- a/src/ostreams.h -+++ b/src/ostreams.h -@@ -32,7 +32,7 @@ class V8_EXPORT_PRIVATE OFStreamBase : public std::streambuf { - }; - - // An output stream writing to a file. --class V8_EXPORT_PRIVATE OFStream : public std::ostream { -+class V8_EXPORT_PRIVATE OFStream : public NON_EXPORTED_BASE(std::ostream) { - public: - explicit OFStream(FILE* f); - ~OFStream() override = default;