Bug 122178

Summary: Variable event stream (for DFG OSR exit) should be explicit about where on the stack a SetLocal put a value
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Filip Pizlo <fpizlo>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, eflews.bot, ggaren, gyuyoung.kim, mark.lam, mhahnenberg, msaboff, oliver, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 122024    
Attachments:
Description Flags
work in progress
none
the patch ggaren: review+, eflews.bot: commit-queue-

Description Filip Pizlo 2013-10-01 14:16:25 PDT
Patch forthcoming.
Comment 1 Filip Pizlo 2013-10-01 14:16:37 PDT
*** Bug 108019 has been marked as a duplicate of this bug. ***
Comment 2 Filip Pizlo 2013-10-01 14:21:09 PDT
Created attachment 213119 [details]
work in progress
Comment 3 Filip Pizlo 2013-10-01 14:35:56 PDT
Created attachment 213121 [details]
the patch
Comment 4 Geoffrey Garen 2013-10-01 14:55:35 PDT
Comment on attachment 213121 [details]
the patch

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

r=me

> Source/JavaScriptCore/dfg/DFGVariableEvent.h:234
> +        return static_cast<VirtualRegister>(m_representation.virtualReg);

You can just use constructor syntax here: VirtualRegister(m_representation.virtualReg).

> Source/JavaScriptCore/dfg/DFGVariableEvent.h:240
> +        return static_cast<VirtualRegister>(m_representation.virtualReg);

Ditto.

> Source/JavaScriptCore/dfg/DFGVariableEvent.h:246
> +        return static_cast<VirtualRegister>(m_which.virtualReg);

You can just use constructor syntax here: VirtualRegister(m_which.virtualReg).
Comment 5 EFL EWS Bot 2013-10-01 15:17:15 PDT
Comment on attachment 213121 [details]
the patch

Attachment 213121 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/2902186
Comment 6 Filip Pizlo 2013-10-01 16:00:53 PDT
(In reply to comment #5)
> (From update of attachment 213121 [details])
> Attachment 213121 [details] did not pass efl-wk2-ews (efl-wk2):
> Output: http://webkit-queues.appspot.com/results/2902186

Looks like an ICE.  Not my problem.
Comment 7 Filip Pizlo 2013-10-01 16:29:21 PDT
Landed in http://trac.webkit.org/changeset/156747