diff options
Diffstat (limited to 'dev-util/electron/files')
-rw-r--r-- | dev-util/electron/files/electron-1.7.15-v8-crankshaft-rce-fix.patch | 37 | ||||
-rw-r--r-- | dev-util/electron/files/toolchain/BUILD.gn | 19 |
2 files changed, 0 insertions, 56 deletions
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 index b18722448df8..000000000000 --- a/dev-util/electron/files/electron-1.7.15-v8-crankshaft-rce-fix.patch +++ /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 - diff --git a/dev-util/electron/files/toolchain/BUILD.gn b/dev-util/electron/files/toolchain/BUILD.gn deleted file mode 100644 index 78f7b57e3be5..000000000000 --- a/dev-util/electron/files/toolchain/BUILD.gn +++ /dev/null @@ -1,19 +0,0 @@ -import("//build/toolchain/gcc_toolchain.gni") - -gcc_toolchain("default") { - cc = getenv("CC") - cxx = getenv("CXX") - ar = getenv("AR") - nm = getenv("NM") - ld = cxx - - extra_cflags = getenv("CFLAGS") - extra_cppflags = getenv("CPPFLAGS") - extra_cxxflags = getenv("CXXFLAGS") - extra_ldflags = getenv("LDFLAGS") - - toolchain_args = { - current_cpu = current_cpu - current_os = current_os - } -} |