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+

Saam Barati
Reported 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.
Attachments
patch (4.77 KB, patch)
2014-10-03 14:05 PDT, Saam Barati
msaboff: review+
Saam Barati
Comment 1 2014-10-03 14:05:33 PDT
Michael Saboff
Comment 2 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.
Saam Barati
Comment 3 2014-10-03 15:20:31 PDT
Note You need to log in before you can comment on or make changes to this bug.