Templatize CodePtr/Refs/FunctionPtrs with PtrTags.
[WebKit-https.git] / Source / JavaScriptCore / ftl / FTLPatchpointExceptionHandle.cpp
index e6c4c25..7294b1b 100644 (file)
@@ -91,7 +91,7 @@ void PatchpointExceptionHandle::scheduleExitCreationForUnwind(
                     HandlerInfo newHandler = handler;
                     newHandler.start = callSiteIndex.bits();
                     newHandler.end = callSiteIndex.bits() + 1;
-                    newHandler.nativeCode = linkBuffer.locationOf(handle->label, ExceptionHandlerPtrTag);
+                    newHandler.nativeCode = linkBuffer.locationOf<ExceptionHandlerPtrTag>(handle->label);
                     codeBlock->appendExceptionHandler(newHandler);
                 });
         });