Index: src/spaces-inl.h |
=================================================================== |
--- src/spaces-inl.h (revision 9009) |
+++ src/spaces-inl.h (working copy) |
@@ -294,13 +294,13 @@ |
SetPageFlag(IS_NORMAL_PAGE, !is_large_object_page); |
} |
-bool Page::IsPageExecutable() { |
- return GetPageFlag(IS_EXECUTABLE); |
+Executability Page::PageExecutability() { |
+ return GetPageFlag(IS_EXECUTABLE) ? EXECUTABLE : NOT_EXECUTABLE; |
} |
-void Page::SetIsPageExecutable(bool is_page_executable) { |
- SetPageFlag(IS_EXECUTABLE, is_page_executable); |
+void Page::SetPageExecutability(Executability executable) { |
+ SetPageFlag(IS_EXECUTABLE, executable == EXECUTABLE); |
} |