[webkit-dev] Where is the code for "operator loading"?
Darin Adler
darin at apple.com
Wed Apr 29 09:19:53 PDT 2009
On Apr 29, 2009, at 2:53 AM, Nitin wrote:
> One question to ask
Please don’t quote a large message that is not relevant to your
message. That’s bad manners.
Please don’t reply to an existing message thread to ask a question.
Also not polite.
> Where is the code for operator loading like "==" ">" etc etc for
> built in objects like Date n so on?
It’s impolite to ask a question without giving any background about
why you’re asking. Are you working on something? What?
The "==" operator is implemented by the function
JSC::JSValuePtr::equalSlowCase and the fast case is part of the code
for op_eq in the interpreter and the JIT.
The ">" operator is implemented by the function JSC::jsLess.
-- Darin
More information about the webkit-dev
mailing list