Changeset 33038 in webkit for trunk/JavaScriptCore/kjs/protect.h


Ignore:
Timestamp:
May 12, 2008, 12:12:31 AM (17 years ago)
Author:
[email protected]
Message:

Roll out recent threading changes (r32807, r32810, r32819, r32822) to simplify
SquirrelFish merging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/protect.h

    r32807 r33038  
    3131namespace KJS {
    3232
    33     inline void gcProtect(JSValue* val)
    34     {
    35         Heap* heap = Heap::heap(val);
    36         if (heap)
    37             heap->protect(val);
     33    inline void gcProtect(JSValue *val)
     34    {
     35        Collector::protect(val);
    3836    }
    3937
    40     inline void gcUnprotect(JSValue* val)
    41     {
    42         Heap* heap = Heap::heap(val);
    43         if (heap)
    44             heap->unprotect(val);
     38    inline void gcUnprotect(JSValue *val)
     39    {
     40        Collector::unprotect(val);
    4541    }
    4642
Note: See TracChangeset for help on using the changeset viewer.