The next post has the patch.
Created attachment 20204 [details] Proposed patch Here's the patch. Getters and setters don't actually work because FuncExprNode isn't implemented.
Doh, this patch hits a random GCC performance regression on an empty for loop. I'll see if it's fixable.
Created attachment 20207 [details] Revised proposed patch The performance regression was caused by the getters and setters. It might still be possible to fight with GCC to beat the regression, but I'll leave it for now.
Created attachment 20208 [details] Revised proposed patch Oops. I left emitDefineGetter() and emitDefineSetter() in CodeGenerator.h. Here's a fixed patch.
Comment on attachment 20208 [details] Revised proposed patch r=me
Landed in r31443.