Bug 151834 - [JSC] Some more cleanup of FTLB3Output
Summary: [JSC] Some more cleanup of FTLB3Output
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 16:25 PST by Benjamin Poulain
Modified: 2015-12-04 18:57 PST (History)
5 users (show)

See Also:


Attachments
Patch (2.75 KB, patch)
2015-12-03 16:26 PST, Benjamin Poulain
fpizlo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Poulain 2015-12-03 16:25:41 PST
[JSC] Some more cleanup of FTLB3Output
Comment 1 Benjamin Poulain 2015-12-03 16:26:09 PST
Created attachment 266574 [details]
Patch
Comment 2 Filip Pizlo 2015-12-04 16:24:53 PST
Comment on attachment 266574 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=266574&action=review

> Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp:9849
> +#if FTL_USES_B3
> +        // FIXME: Add B3 support.
> +        UNUSED_PARAM(probeFunc);
> +#else // !FTL_USES_B3
>          uint32_t stackmapID = m_stackmapIDs++;
>          m_ftlState.probes.append(ProbeDescriptor(stackmapID, probeFunc));
>          m_out.call(m_out.voidType, m_out.stackmapIntrinsic(), m_out.constInt64(stackmapID), m_out.constInt32(sizeOfProbe()));
> +#endif // !FTL_USES_B3

I'm not sure about this.  This code isn't right for B3.
Comment 3 Benjamin Poulain 2015-12-04 18:57:17 PST
Committed r193506: <http://trac.webkit.org/changeset/193506>