Chromium Code Reviews| 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(); |