Update an outdated comment in the CEntryStub on ARM.

R=sgjesse@chromium.org

Review URL: http://codereview.chromium.org/7134106

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8289 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent ef7b56bf
...@@ -3403,15 +3403,10 @@ void CEntryStub::GenerateCore(MacroAssembler* masm, ...@@ -3403,15 +3403,10 @@ void CEntryStub::GenerateCore(MacroAssembler* masm,
__ mov(r2, Operand(ExternalReference::isolate_address())); __ mov(r2, Operand(ExternalReference::isolate_address()));
// To let the GC traverse the return address of the exit frames, we need to
// TODO(1242173): To let the GC traverse the return address of the exit // know where the return address is. The CEntryStub is unmovable, so
// frames, we need to know where the return address is. Right now, // we can store the address on the stack to be able to find it again and
// we store it on the stack to be able to find it again, but we never // we never have to restore it, because it will not change.
// restore from it in case of changes, which makes it impossible to
// support moving the C entry code stub. This should be fixed, but currently
// this is OK because the CEntryStub gets generated so early in the V8 boot
// sequence that it is not moving ever.
// Compute the return address in lr to return to after the jump below. Pc is // Compute the return address in lr to return to after the jump below. Pc is
// already at '+ 8' from the current instruction but return is after three // already at '+ 8' from the current instruction but return is after three
// instructions so add another 4 to pc to get the return address. // instructions so add another 4 to pc to get the return address.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment