[Webkit-unassigned] [Bug 98898] Partial support of 'typeof' node in DFG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 1 03:15:46 PDT 2012


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





--- Comment #13 from Valery Ignatyev <valery.ignatyev at ispras.ru>  2012-11-01 03:17:07 PST ---
I've tried to fix the problem, and think that the last patch performs conservative replacement with the constant.
I didn't completely understand, when the object can pretend to be a function. Can you please provide an example? Is it concerned with valueOf?

>  CallData callData;
>  JSObject* object = asObject(v);
>  if (object->methodTable()->getCallData(object, callData) != CallTypeNone)
>      return globalData.smallStrings.functionString(&globalData);
Also I didn't find any way to emulate this behaviour without 'getCallData'.
I found that 'CallTypeNone' returns only 'InternalFunction' and 'JSCell'.

And the last one question. Is it possible to run the failing test without all testing enviroment? If so, how to do it? Is it necessary to run it on Mac?

-- 
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