Fix x64 build.
authorDavid Anderson <danderson@mozilla.com>
Wed, 15 Feb 2012 16:57:38 -0800
changeset 112704 c4dc1640324cad5be2b42b7dc1684751bc654804
parent 112703 27b5a9824b61e27b1732f087fd6a545e6078a211
child 112705 e3891c579d984be29c0f7cb3c47b532bb7ae4783
push id239
push userakeybl@mozilla.com
push dateThu, 03 Jan 2013 21:54:43 +0000
treeherdermozilla-release@3a7b66445659 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone13.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
Fix x64 build.
js/src/jsgcmark.cpp
--- a/js/src/jsgcmark.cpp
+++ b/js/src/jsgcmark.cpp
@@ -437,17 +437,17 @@ MarkThingOrValueRoot(JSTracer *trc, uint
 #ifdef JS_PUNBOX64
     // All pointers on x64 will have the top bits cleared. If those bits
     // are not cleared, this must be a Value.
     {
         if (word >> JSVAL_TAG_SHIFT) {
             jsval_layout layout;
             layout.asBits = word;
             Value v = IMPL_TO_JSVAL(layout);
-            gc::MarkRoot(trc, v, name);
+            gc::MarkValueRoot(trc, v, name);
 	    return;
         }
     }
 #endif
 
     gc::MarkGCThingRoot(trc, reinterpret_cast<void *>(word), name);
 }