Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index c8ebb3f43b9e052cb7ea5cbed5469e1089f01d6f..7e05e674dd947240c879c31199254b2215828638 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -3128,6 +3128,7 @@ void MacroAssembler::CheckPageFlagForMap( |
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. |