Title: [238315] releases/WebKitGTK/webkit-2.22/Source/_javascript_Core
Revision
238315
Author
mcatanz...@igalia.com
Date
2018-11-16 15:22:18 -0800 (Fri, 16 Nov 2018)

Log Message

Merge r235198 - Eliminate dead code operationThrowDivideError() and operationThrowOutOfBoundsAccessError()
https://bugs.webkit.org/show_bug.cgi?id=188859

Rubber-stamped by Saam Barati.

Deleted these two functions.

* jit/JITOperations.cpp:
* jit/JITOperations.h:

Modified Paths

Diff

Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog (238314 => 238315)


--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog	2018-11-16 23:22:15 UTC (rev 238314)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/ChangeLog	2018-11-16 23:22:18 UTC (rev 238315)
@@ -1,3 +1,15 @@
+2018-08-22  Michael Saboff  <msab...@apple.com>
+
+        https://bugs.webkit.org/show_bug.cgi?id=188859
+        Eliminate dead code operationThrowDivideError() and operationThrowOutOfBoundsAccessError()
+
+        Rubber-stamped by Saam Barati.
+
+        Deleted these two functions.
+
+        * jit/JITOperations.cpp:
+        * jit/JITOperations.h:
+
 2018-11-04  Adrian Perez de Castro  <ape...@igalia.com>
 
         [GTK] Cannot make debug builds of JSC using release 2.22.3

Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/jit/JITOperations.cpp (238314 => 238315)


--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/jit/JITOperations.cpp	2018-11-16 23:22:15 UTC (rev 238314)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/jit/JITOperations.cpp	2018-11-16 23:22:18 UTC (rev 238315)
@@ -114,34 +114,6 @@
     throwStackOverflowError(callerFrame, scope);
 }
 
-#if ENABLE(WEBASSEMBLY)
-void JIT_OPERATION operationThrowDivideError(ExecState* exec)
-{
-    VM* vm = &exec->vm();
-    auto scope = DECLARE_THROW_SCOPE(*vm);
-
-    EntryFrame* entryFrame = vm->topEntryFrame;
-    CallFrame* callerFrame = exec->callerFrame(entryFrame);
-
-    NativeCallFrameTracerWithRestore tracer(vm, entryFrame, callerFrame);
-    ErrorHandlingScope errorScope(*vm);
-    throwException(callerFrame, scope, createError(callerFrame, "Division by zero or division overflow."_s));
-}
-
-void JIT_OPERATION operationThrowOutOfBoundsAccessError(ExecState* exec)
-{
-    VM* vm = &exec->vm();
-    auto scope = DECLARE_THROW_SCOPE(*vm);
-
-    EntryFrame* entryFrame = vm->topEntryFrame;
-    CallFrame* callerFrame = exec->callerFrame(entryFrame);
-
-    NativeCallFrameTracerWithRestore tracer(vm, entryFrame, callerFrame);
-    ErrorHandlingScope errorScope(*vm);
-    throwException(callerFrame, scope, createError(callerFrame, "Out-of-bounds access."_s));
-}
-#endif
-
 int32_t JIT_OPERATION operationCallArityCheck(ExecState* exec)
 {
     VM* vm = &exec->vm();

Modified: releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/jit/JITOperations.h (238314 => 238315)


--- releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/jit/JITOperations.h	2018-11-16 23:22:15 UTC (rev 238314)
+++ releases/WebKitGTK/webkit-2.22/Source/_javascript_Core/jit/JITOperations.h	2018-11-16 23:22:18 UTC (rev 238315)
@@ -353,10 +353,6 @@
 void JIT_OPERATION operationVMHandleException(ExecState*) WTF_INTERNAL;
 
 void JIT_OPERATION operationThrowStackOverflowError(ExecState*, CodeBlock*) WTF_INTERNAL;
-#if ENABLE(WEBASSEMBLY)
-void JIT_OPERATION operationThrowDivideError(ExecState*) WTF_INTERNAL;
-void JIT_OPERATION operationThrowOutOfBoundsAccessError(ExecState*) WTF_INTERNAL;
-#endif
 int32_t JIT_OPERATION operationCallArityCheck(ExecState*) WTF_INTERNAL;
 int32_t JIT_OPERATION operationConstructArityCheck(ExecState*) WTF_INTERNAL;
 EncodedJSValue JIT_OPERATION operationTryGetById(ExecState*, StructureStubInfo*, EncodedJSValue, UniquedStringImpl*) WTF_INTERNAL;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to