diff options
Diffstat (limited to 'net-libs/webkit-gtk/files/webkit-gtk-1.3.x-disable-jsc-assertion.patch')
-rw-r--r-- | net-libs/webkit-gtk/files/webkit-gtk-1.3.x-disable-jsc-assertion.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/files/webkit-gtk-1.3.x-disable-jsc-assertion.patch b/net-libs/webkit-gtk/files/webkit-gtk-1.3.x-disable-jsc-assertion.patch new file mode 100644 index 0000000..f6e9bcf --- /dev/null +++ b/net-libs/webkit-gtk/files/webkit-gtk-1.3.x-disable-jsc-assertion.patch @@ -0,0 +1,31 @@ +From 0c0ee9075ff74eca8fbd3c81356954d443e5c3c1 Mon Sep 17 00:00:00 2001 +From: Priit Laes <plaes@plaes.org> +Date: Tue, 13 Jul 2010 15:23:20 +0300 +Subject: [PATCH] Crashfix + +https://bugs.webkit.org/show_bug.cgi?id=41454 + +--- + JavaScriptCore/jit/JITStubs.cpp | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/JavaScriptCore/jit/JITStubs.cpp b/JavaScriptCore/jit/JITStubs.cpp +index 85bd54f..595a066 100644 +--- a/JavaScriptCore/jit/JITStubs.cpp ++++ b/JavaScriptCore/jit/JITStubs.cpp +@@ -2232,10 +2232,12 @@ DEFINE_STUB_FUNCTION(EncodedJSValue, op_construct_NotJSConstruct) + int argCount = stackFrame.args[2].int32(); + CallFrame* previousCallFrame = stackFrame.callFrame; + CallFrame* callFrame = CallFrame::create(previousCallFrame->registers() + registerOffset); ++#if 0 + if (!stackFrame.registerFile->grow(callFrame->registers())) { + throwStackOverflowError(previousCallFrame, stackFrame.globalData, callFrame->returnPC(), STUB_RETURN_ADDRESS); + VM_THROW_EXCEPTION(); + } ++#endif + + callFrame->init(0, static_cast<Instruction*>((STUB_RETURN_ADDRESS).value()), previousCallFrame->scopeChain(), previousCallFrame, argCount, asObject(constrVal)); + stackFrame.callFrame = callFrame; +-- +1.7.1.1 + |