Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1022)

Unified Diff: src/spaces.h

Issue 9315032: ARM: Use ubfx and movw instructions to avoid a PC-relative load on Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform-linux.cc ('k') | src/spaces.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.h
===================================================================
--- src/spaces.h (revision 10578)
+++ src/spaces.h (working copy)
@@ -720,6 +720,10 @@
void ClearSweptPrecisely() { ClearFlag(WAS_SWEPT_PRECISELY); }
void ClearSweptConservatively() { ClearFlag(WAS_SWEPT_CONSERVATIVELY); }
+ static Map* MapFromIntraPageOffset(int32_t offset);
+
+ Address RoundUpToObjectAlignment(Address a);
+
#ifdef DEBUG
void Print();
#endif // DEBUG
@@ -989,11 +993,13 @@
Address ReserveAlignedMemory(size_t requested,
size_t alignment,
- VirtualMemory* controller);
+ VirtualMemory* controller,
+ intptr_t preferred_placement = 0);
Address AllocateAlignedMemory(size_t requested,
size_t alignment,
Executability executable,
- VirtualMemory* controller);
+ VirtualMemory* controller,
+ intptr_t preferred_placement = 0);
void FreeMemory(VirtualMemory* reservation, Executability executable);
void FreeMemory(Address addr, size_t size, Executability executable);
« no previous file with comments | « src/platform-linux.cc ('k') | src/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698