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); On 2011/03/16 10:28:18, fschneider wrote:
I think it does not hurt here, but shouldn't this bailout be prepared
only for
named and keyed properties then?
That looks right, done (on all platforms). 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; On 2011/03/16 10:28:18, fschneider wrote:
I'd move this into the same line as the if-statement, if it fits.
(also in the
ones below)
Done. 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))); On 2011/03/16 10:28:18, fschneider wrote:
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.
Done. http://codereview.chromium.org/6665026/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
