/[jscoverage]/trunk/js/jslock.cpp
ViewVC logotype

Diff of /trunk/js/jslock.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 584 by siliconforks, Sun Jan 10 07:23:34 2010 UTC revision 585 by siliconforks, Sun Sep 12 15:13:23 2010 UTC
# Line 179  Line 179 
179  static JS_ALWAYS_INLINE int  static JS_ALWAYS_INLINE int
180  NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)  NativeCompareAndSwap(jsword *w, jsword ov, jsword nv)
181  {  {
182      return !_check_lock((atomic_p)w, ov, nv);      int res;
183        JS_STATIC_ASSERT(sizeof(jsword) == sizeof(long));
184    
185        res = compare_and_swaplp((atomic_l)w, &ov, nv);
186        if (res)
187            __asm__("isync");
188        return res;
189  }  }
190    
191  #elif defined(USE_ARM_KUSER)  #elif defined(USE_ARM_KUSER)

Legend:
Removed from v.584  
changed lines
  Added in v.585

  ViewVC Help
Powered by ViewVC 1.1.24