Thanks a lot! Meet the working version.

https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc
File src/full-codegen/arm/full-codegen-arm.cc (right):

https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc#newcode247
src/full-codegen/arm/full-codegen-arm.cc:247: function_in_register =
true;
On 2015/08/31 09:54:53, Jarin wrote:
Why is this here? It looks like function_in_register is not used after
this
point...

Actually we need this. See the next patch set.

https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc#newcode293
src/full-codegen/arm/full-codegen-arm.cc:293: __ mov(r1,
Operand(Smi::FromInt(rest_index)));
On 2015/08/31 09:54:53, Jarin wrote:
I do not quite understand why this cannot overwrite the function in
r1, but I
see that it was similar situation in the original code. Are you sure
this is ok?
(Same thing above.)

Thank you for pointing that out! That was the reason of both arm and
arm64 crashes.

https://codereview.chromium.org/1317383002/diff/60001/src/hydrogen.h
File src/hydrogen.h (right):

https://codereview.chromium.org/1317383002/diff/60001/src/hydrogen.h#newcode2034
src/hydrogen.h:2034: return HParameter::New(isolate(), zone(), nullptr,
index);
On 2015/08/31 09:54:53, Jarin wrote:
Do I understand correctly that you had to add these because you want
to pass
nullptr as context?

Almost. I had to add this in order to avoid calling
GraphBuilder::context() when it is not available yet (before HContext
instruction).

https://codereview.chromium.org/1317383002/

--
--
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.

Reply via email to