Reviewers: Benedikt Meurer, ulan,

Message:
PTAL

It should fix the failure in embenchen/zlib on arm64.


Description:
[arm64] Bug fix in sapefoint recording.

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

[email protected], [email protected]

Please review this at https://codereview.chromium.org/695323005/

Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+0, -5 lines):
  M src/arm64/lithium-codegen-arm64.cc


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,


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