Bug 952650 (part 15) - Remove JSVAL_TO_GCTHING. r=till.
authorNicholas Nethercote <nnethercote@mozilla.com>
Mon, 28 Apr 2014 16:01:30 -0700
changeset 180924 a97a14bb56df42807f0bbb13a379ba75601fc874
parent 180923 eadb3ac8bc7f7115b8151f8c88818ea350568c20
child 180925 697506d9c32459abcbf817fbf54fb793078d49d3
push id26686
push usercbook@mozilla.com
push dateWed, 30 Apr 2014 13:00:57 +0000
treeherdermozilla-central@c8b374bf936b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstill
bugs952650
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 952650 (part 15) - Remove JSVAL_TO_GCTHING. r=till.
js/public/Value.h
--- a/js/public/Value.h
+++ b/js/public/Value.h
@@ -1869,23 +1869,16 @@ OBJECT_TO_JSVAL(JSObject *obj)
 }
 
 static inline jsval
 BOOLEAN_TO_JSVAL(bool b)
 {
     return IMPL_TO_JSVAL(BOOLEAN_TO_JSVAL_IMPL(b));
 }
 
-static inline void *
-JSVAL_TO_GCTHING(jsval v)
-{
-    MOZ_ASSERT(JSVAL_IS_GCTHING(v));
-    return JSVAL_TO_GCTHING_IMPL(JSVAL_TO_IMPL(v));
-}
-
 /* To be GC-safe, privates are tagged as doubles. */
 
 static inline jsval
 PRIVATE_TO_JSVAL(void *ptr)
 {
     return IMPL_TO_JSVAL(PRIVATE_PTR_TO_JSVAL_IMPL(ptr));
 }