On 08/23/2013 08:20 AM, Luke Wagner wrote:
At any rate, we're definitely already screwed on compilers than don't
properly optimized those kinds of structs. (See Value!)

Value gets passed around by 'const Value &' since, on 32-bit, it gets passed on 
the stack anyways.  Well, and HandleValue, but not by value (usually).

FYI, IonMonkey call convention assumes that HandleValue are pass by value, so we just copy the address of a value as an argument of the called function.

So if we have plans to support compilers without this optimization then we need to revise the call convention used by IonMonkey.

--
Nicolas B. Pierron

_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to