[Webkit-unassigned] [Bug 34019] Custom-written JavaScript parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 7 13:07:19 PST 2010


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





--- Comment #42 from Darin Adler <darin at apple.com>  2010-02-07 13:07:12 PST ---
(In reply to comment #41)
> Hm, I am not sure all compiler will like to access non-existing members even if
> the a branch is known to be false.

It won't.

> Instead, I could use ALWAYS_INLINE get/set
> methods, and put ASSERT_NOT_REACHED to those getters/setter which are not exist
> for the current structure.

That might work. Generally the technique is to have functions in a class passed
to the template that perform all access to the members that are conditional and
then empty functions with the same name in the other class passed to the
template.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list