Rodolph's not in the office today so he asked me to reply.
https://codereview.chromium.org/410153002/diff/80001/src/arm64/lithium-codegen-arm64.cc
File src/arm64/lithium-codegen-arm64.cc (left):
https://codereview.chromium.org/410153002/diff/80001/src/arm64/lithium-codegen-arm64.cc#oldcode5038
src/arm64/lithium-codegen-arm64.cc:5038:
ASM_UNIMPLEMENTED_BREAK("DoDeclareGlobals");
We used ASM_UNIMPLEMENTED_BREAK during development. I thought they were
all gone, to be honest. This one probably remains because we couldn't
test this code. (That is, it's probably safe to remove it.)
https://codereview.chromium.org/410153002/diff/80001/src/arm64/lithium-codegen-arm64.cc
File src/arm64/lithium-codegen-arm64.cc (right):
https://codereview.chromium.org/410153002/diff/80001/src/arm64/lithium-codegen-arm64.cc#newcode694
src/arm64/lithium-codegen-arm64.cc:694: __
Push(info()->scope()->GetScopeInfo());
I think it would be slightly better load the scope info explicity so we
can merge the pushes:
UseScratchRegisterScope temps(masm);
Register scope_info = temps.AcquireX();
__ Mov(scope_info, Operand(info()->scope()->GetScopeInfo()));
__ Push(x1, scope_info);
Each 'Push' has an overhead, and Push(Handle<ScopeInfo>) will just load
the handle into a scratch register anyway so the 'Mov' here doesn't have
any extra cost.
https://codereview.chromium.org/410153002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.