[Webkit-unassigned] [Bug 151113] calling super() a second time in a constructor should throw

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 13:11:59 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=151113

--- Comment #3 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to comment #2)
> I'm working on patch for this issue. 
> I've created new op code - op_is_empty to check if thisRegister is empty or
> unassigned before assign value returned from parent constructor(super). I
> implemented op_is_empty in LLInt and currently working on implementing it in
> JITOpcodes & DFG

Why do you need a new op code for this?  Can't we just use check_tdz?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160407/85ebac91/attachment.html>


More information about the webkit-unassigned mailing list