Bug 137181

Summary: Implement op_profile_type in the 32-bit baseline JIT
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: Saam Barati <saam>
Status: RESOLVED FIXED    
Severity: Normal CC: fpizlo, ggaren
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch msaboff: review+

Description Saam Barati 2014-09-27 12:41:11 PDT
Currently, the 32-bit version of op_profile_type just jumps to the slow path. Have it emit inline assembly for writing to TypeProfilerLog.
Comment 1 Saam Barati 2014-10-03 14:05:33 PDT
Created attachment 239232 [details]
patch
Comment 2 Michael Saboff 2014-10-03 14:28:07 PDT
Comment on attachment 239232 [details]
patch

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

r=me

> Source/JavaScriptCore/jit/JITOpcodes32_64.cpp:1350
> +    Jump skipClearLog = branchPtr(NotEqual, regT1, TrustedImmPtr(cachedTypeProfilerLog->logEndPtr()));

This could be jumpToEnd.append(branchPtr(....)) to simplify the logic.
Comment 3 Saam Barati 2014-10-03 15:20:31 PDT
landed in: http://trac.webkit.org/changeset/174298