Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index be2564960d01daba405025646439a2a13237c4cb..7871f4e1cb467b3ca853d0a17e4bc35072b07deb 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -1133,6 +1133,12 @@ ExternalReference ExternalReference::math_log_double_function( |
} |
+ExternalReference ExternalReference::page_flags(Page* page) { |
+ return ExternalReference(reinterpret_cast<Address>(page) + |
+ MemoryChunk::kFlagsOffset); |
+} |
+ |
+ |
// Helper function to compute x^y, where y is known to be an |
// integer. Uses binary decomposition to limit the number of |
// multiplications; see the discussion in "Hacker's Delight" by Henry |