One more thing I forgot to mention before: it's fine to change the semantics of typeof to match the spec (I think we should).
However, we should do it for all contexts (ie, both backends) at the same time. Mixing them depending on which backend we choose is hard for programmers to predict and worse than pure-Firefox or pure-Safari from a compatibility standpoint. On Tue, Nov 3, 2009 at 6:30 PM, Kevin Millikin <[email protected]>wrote: > On Tue, Nov 3, 2009 at 5:48 PM, <[email protected]> wrote: > >> I find something like "UnaryOperation: VOID" or "UnaryOperation (VOID)" >> more readable. >> >> > BTW, one thing I've wanted for a long time and just haven't gotten around > to it is to have the codegen comments take varargs and a printf format > string, so we could instead write something like: > > Comment cmnt(masm_, "UnaryOperation (%s)", Token::Name(expr->op())); > > --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
