Commit dc686a53 authored by baptiste.afsa@arm.com's avatar baptiste.afsa@arm.com

[arm64] Bug fix in sapefoint recording.

cp is handled by the register allocator and doesn't necessarily hold the
context pointer on arm64.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/695323005

Cr-Commit-Position: refs/heads/master@{#25209}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25209 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent c0ac2ab9
...@@ -557,11 +557,6 @@ void LCodeGen::RecordSafepoint(LPointerMap* pointers, ...@@ -557,11 +557,6 @@ void LCodeGen::RecordSafepoint(LPointerMap* pointers,
safepoint.DefinePointerRegister(ToRegister(pointer), zone()); safepoint.DefinePointerRegister(ToRegister(pointer), zone());
} }
} }
if (kind & Safepoint::kWithRegisters) {
// Register cp always contains a pointer to the context.
safepoint.DefinePointerRegister(cp, zone());
}
} }
void LCodeGen::RecordSafepoint(LPointerMap* pointers, void LCodeGen::RecordSafepoint(LPointerMap* pointers,
......
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