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

Unified Diff: src/heap.h

Issue 174517: * Make stack/preemption guard faster on ARM by putting stack... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 4 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
Index: src/heap.h
===================================================================
--- src/heap.h (revision 2758)
+++ src/heap.h (working copy)
@@ -132,7 +132,8 @@
V(FixedArray, number_string_cache, NumberStringCache) \
V(FixedArray, single_character_string_cache, SingleCharacterStringCache) \
V(FixedArray, natives_source_cache, NativesSourceCache) \
- V(Object, last_script_id, LastScriptId)
+ V(Object, last_script_id, LastScriptId) \
+ V(Smi, stack_limit, StackLimit)
#define ROOT_LIST(V) \
@@ -227,6 +228,11 @@
// Destroys all memory allocated by the heap.
static void TearDown();
+ // Sets the stack limit in the in the roots_ array. Some architectures
Mads Ager (chromium) 2009/08/26 10:09:28 in the in the -> in the
+ // generate code that looks here, because it is faster than loading from the
+ // static jslimit_ variable.
+ static void SetStackLimit(intptr_t limit);
+
// Returns whether Setup has been called.
static bool HasBeenSetup();

Powered by Google App Engine
This is Rietveld 408576698