Bug 884676 - Convert JSPrincipals::refcount to Atomic<int32_t> in JS_THREADSAFE builds, and remove JS_ATOMIC_*. r=Waldo

This commit is contained in:
Joshua Cranmer
2013-11-27 09:37:10 -06:00
parent eef429875c
commit 98fb2dcf5d
16 changed files with 66 additions and 62 deletions

View File

@@ -6,9 +6,7 @@
#include "jsapi-tests/tests.h"
static JSPrincipals system_principals = {
1
};
static TestJSPrincipals system_principals(1);
static const JSClass global_class = {
"global",