LGTM.
http://codereview.chromium.org/6665026/diff/7002/src/arm/full-codegen-arm.cc File src/arm/full-codegen-arm.cc (right): http://codereview.chromium.org/6665026/diff/7002/src/arm/full-codegen-arm.cc#newcode3808 src/arm/full-codegen-arm.cc:3808: PrepareForBailout(expr->increment(), TOS_REG); I think it does not hurt here, but shouldn't this bailout be prepared only for named and keyed properties then? http://codereview.chromium.org/6665026/diff/7002/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/6665026/diff/7002/src/hydrogen.cc#newcode2814 src/hydrogen.cc:2814: return kUseGeneric; I'd move this into the same line as the if-statement, if it fits. (also in the ones below) http://codereview.chromium.org/6665026/diff/7002/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/6665026/diff/7002/src/ia32/lithium-codegen-ia32.cc#newcode2038 src/ia32/lithium-codegen-ia32.cc:2038: __ mov(eax, Operand(esi, Context::SlotOffset(Context::GLOBAL_INDEX))); You could consider making LoadGlobalGeneric take two iput operands: the context in esi and the global object in eax, so you don't need to reload it here. In the hydrogen IR there exists already a HGlobalObject instruction. http://codereview.chromium.org/6665026/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
