Revision: 22952
Author:   [email protected]
Date:     Thu Aug  7 07:06:52 2014 UTC
Log: X87: Check that external references are registered in the serializer.

port r22896

original commit message:
  Check that external references are registered in the serializer.
  Inspired by a patch by Slava Chigrin <[email protected]>;

BUG=
[email protected]

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

Patch from Chunyang Dai <[email protected]>.
http://code.google.com/p/v8/source/detail?r=22952

Modified:
 /branches/bleeding_edge/src/x87/macro-assembler-x87.cc

=======================================
--- /branches/bleeding_edge/src/x87/macro-assembler-x87.cc Mon Aug 4 11:34:54 2014 UTC +++ /branches/bleeding_edge/src/x87/macro-assembler-x87.cc Thu Aug 7 07:06:52 2014 UTC
@@ -3015,6 +3015,7 @@
     Label::Distance condition_met_distance) {
   DCHECK(cc == zero || cc == not_zero);
   Page* page = Page::FromAddress(map->address());
+  DCHECK(!serializer_enabled());  // Serializer cannot match page_flags.
   ExternalReference reference(ExternalReference::page_flags(page));
   // The inlined static address check of the page's flags relies
   // on maps never being compacted.

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