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

Unified Diff: src/heap.h

Issue 435020: Fast-compiler: Add stack limit checks to back edges of while, do-while and for. (Closed)
Patch Set: Created 11 years, 1 month 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
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 90d714c7fbe1ce7a8733c9c6bfaf571cc6ef5b1f..f30b9e9462614186ee062ce3858be993ad7066da 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -910,7 +910,8 @@ class Heap : public AllStatic {
static int linear_allocation_scope_depth_;
static bool context_disposed_pending_;
- static const int kMaxMapSpaceSize = 8*MB;
+ static const int kMaxMapSpaceSize =
+ (1 << MapWord::kMapPageIndexBits) * Page::kPageSize;
Lasse Reichstein 2009/11/24 14:21:36 By popular demand: Make it obvious what map space
Mads Ager (chromium) 2009/11/24 14:46:32 by the amount of bits available for map page index
Lasse Reichstein 2009/11/25 08:56:26 Guess I should add a comment to make it more obvio
#if defined(V8_TARGET_ARCH_X64)
static const int kMaxObjectSizeInNewSpace = 512*KB;

Powered by Google App Engine
This is Rietveld 408576698