dev-util/electron: remove unused patch
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Fri, 8 Nov 2019 15:12:07 +0000 (16:12 +0100)
committerAaron Bauman <bman@gentoo.org>
Fri, 8 Nov 2019 15:20:48 +0000 (10:20 -0500)
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13585
Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-util/electron/files/electron-1.7.15-v8-crankshaft-rce-fix.patch [deleted file]

diff --git a/dev-util/electron/files/electron-1.7.15-v8-crankshaft-rce-fix.patch b/dev-util/electron/files/electron-1.7.15-v8-crankshaft-rce-fix.patch
deleted file mode 100644 (file)
index b187224..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-From 3c8f3a181afb7407ca6b8dd6605dcea3a8e78ba8 Mon Sep 17 00:00:00 2001
-From: Elvis Pranskevichus <elvis@magic.io>
-Date: Sat, 24 Mar 2018 13:34:10 -0400
-Subject: [PATCH] Fix crankshaft RCE patch
-
----
- patches/v8/crankshaft-hydrogen-rce.patch | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/patches/v8/crankshaft-hydrogen-rce.patch b/patches/v8/crankshaft-hydrogen-rce.patch
-index d99d964..273705e 100644
---- a/patches/v8/crankshaft-hydrogen-rce.patch
-+++ b/patches/v8/crankshaft-hydrogen-rce.patch
-@@ -1,16 +1,17 @@
- diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc
--index d55bb37..d595617 100644
-+index d55bb37..2833c63 100644
- --- a/src/crankshaft/hydrogen.cc
- +++ b/src/crankshaft/hydrogen.cc
--@@ -7176,7 +7176,10 @@ HValue* HOptimizedGraphBuilder::HandlePolymorphicElementAccess(
-+@@ -7176,8 +7176,11 @@ HValue* HOptimizedGraphBuilder::HandlePolymorphicElementAccess(
-    // Get transition target for each map (NULL == no transition).
-    for (int i = 0; i < maps->length(); ++i) {
-      Handle<Map> map = maps->at(i);
- +    // Don't generate elements kind transitions from stable maps.
-      Map* transitioned_map =
-+-        map->FindElementsKindTransitionedMap(&possible_transitioned_maps);
- +        map->is_stable()
- +            ? nullptr
- +            : map->FindElementsKindTransitionedMap(&possible_transitioned_maps);
---         map->FindElementsKindTransitionedMap(&possible_transitioned_maps);
-      if (transitioned_map != nullptr) {
-        transition_target.Add(handle(transitioned_map));
-+     } else {
--- 
-2.16.1
-