Title: [291871] trunk/Source/_javascript_Core
- Revision
- 291871
- Author
- [email protected]
- Date
- 2022-03-25 11:52:54 -0700 (Fri, 25 Mar 2022)
Log Message
Remove unused JITOperation, operationTryOSREnterAtCatch.
https://bugs.webkit.org/show_bug.cgi?id=238379
Reviewed by Mark Lam.
* jit/JITOperations.cpp:
* jit/JITOperations.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (291870 => 291871)
--- trunk/Source/_javascript_Core/ChangeLog 2022-03-25 18:46:34 UTC (rev 291870)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-03-25 18:52:54 UTC (rev 291871)
@@ -1,3 +1,13 @@
+2022-03-25 Keith Miller <[email protected]>
+
+ Remove unused JITOperation, operationTryOSREnterAtCatch.
+ https://bugs.webkit.org/show_bug.cgi?id=238379
+
+ Reviewed by Mark Lam.
+
+ * jit/JITOperations.cpp:
+ * jit/JITOperations.h:
+
2022-03-25 Chris Dumez <[email protected]>
Start preparing WebCore for making the String(const char*) constructor explicit
Modified: trunk/Source/_javascript_Core/jit/JITOperations.cpp (291870 => 291871)
--- trunk/Source/_javascript_Core/jit/JITOperations.cpp 2022-03-25 18:46:34 UTC (rev 291870)
+++ trunk/Source/_javascript_Core/jit/JITOperations.cpp 2022-03-25 18:52:54 UTC (rev 291871)
@@ -2084,30 +2084,6 @@
return encodeResult(nullptr, nullptr);
}
-JSC_DEFINE_JIT_OPERATION(operationTryOSREnterAtCatch, char*, (VM* vmPointer, uint32_t bytecodeIndexBits))
-{
- VM& vm = *vmPointer;
- CallFrame* callFrame = DECLARE_CALL_FRAME(vm);
- JITOperationPrologueCallFrameTracer tracer(vm, callFrame);
- BytecodeIndex bytecodeIndex = BytecodeIndex::fromBits(bytecodeIndexBits);
-
- CodeBlock* codeBlock = callFrame->codeBlock();
- CodeBlock* optimizedReplacement = codeBlock->replacement();
- if (UNLIKELY(!optimizedReplacement))
- return nullptr;
-
- switch (optimizedReplacement->jitType()) {
- case JITType::DFGJIT:
- case JITType::FTLJIT: {
- MacroAssemblerCodePtr<ExceptionHandlerPtrTag> entry = DFG::prepareCatchOSREntry(vm, callFrame, codeBlock, optimizedReplacement, bytecodeIndex);
- return entry.executableAddress<char*>();
- }
- default:
- break;
- }
- return nullptr;
-}
-
JSC_DEFINE_JIT_OPERATION(operationTryOSREnterAtCatchAndValueProfile, char*, (VM* vmPointer, uint32_t bytecodeIndexBits))
{
VM& vm = *vmPointer;
Modified: trunk/Source/_javascript_Core/jit/JITOperations.h (291870 => 291871)
--- trunk/Source/_javascript_Core/jit/JITOperations.h 2022-03-25 18:46:34 UTC (rev 291870)
+++ trunk/Source/_javascript_Core/jit/JITOperations.h 2022-03-25 18:52:54 UTC (rev 291871)
@@ -260,7 +260,6 @@
JSC_DECLARE_JIT_OPERATION(operationDebug, void, (VM*, int32_t));
#if ENABLE(DFG_JIT)
JSC_DECLARE_JIT_OPERATION(operationOptimize, SlowPathReturnType, (VM*, uint32_t));
-JSC_DECLARE_JIT_OPERATION(operationTryOSREnterAtCatch, char*, (VM*, uint32_t));
JSC_DECLARE_JIT_OPERATION(operationTryOSREnterAtCatchAndValueProfile, char*, (VM*, uint32_t));
#endif
JSC_DECLARE_JIT_OPERATION(operationPutGetterById, void, (JSGlobalObject*, JSCell*, UniquedStringImpl*, int32_t options, JSCell*));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes