Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index a285e7bcc1529419639093e5f204e3ee17abda1e..1b8ae1b9c145f90fe36fc319cf980d54cf073f93 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -557,11 +557,6 @@ void LCodeGen::RecordSafepoint(LPointerMap* pointers, |
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, |