2013年4月1日月曜日 23時32分28秒 UTC+9 井関正也:
> I'm interested in IonMonkey.
> 
> I read some code in js/src/ion.But I can't understand how IonMonkey analyze 
> the code.
> 
> When type javascript code in console or commnad line , What function call 
> firstly?

Oh ! I understand.
Thanks.

I make member function 
MDefinition *
MConcat::foldsTo(bool useValueNumbers)
{
    if ((type() == MIRType_String) && (rhs()->isConstant()))
    {
        if((type() == MIRType_String) && (lhs()->isConstant()))
        {
            return MConstant::New(MergeStrValue);
        }
        else
        {
            return MConstant::New(rhs()->toConstant()->value());
        }
    }
    return this;
}
I'd like to merger JSString. I think I use js::ConcatStrings. But It doesn't 
have JSContext in this scope.
there are other way?
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to