Chromium Code Reviews| Index: src/heap.cc | 
| =================================================================== | 
| --- src/heap.cc (revision 2758) | 
| +++ src/heap.cc (working copy) | 
| @@ -3256,6 +3256,15 @@ | 
| } | 
| +void Heap::SetStackLimit(intptr_t limit) { | 
| + // Set up the special root array entry is the stack guard. | 
| 
 
Mads Ager (chromium)
2009/08/26 10:09:28
is -> containing?
 
 | 
| + // This is actually an address, but the tag makes the GC ignore it. | 
| + limit &= ~kSmiTagMask; | 
| + limit |= kSmiTag; | 
| 
 
Mads Ager (chromium)
2009/08/26 10:09:28
Do you need this?  You should be able to remove th
 
 | 
| + set_stack_limit(Smi::FromInt(limit >> kSmiTagSize)); | 
| +} | 
| + | 
| + | 
| void Heap::TearDown() { | 
| GlobalHandles::TearDown(); |