Fix outrageously incorrect comment.
authorAndreas Gal <gal@mozilla.com>
Wed, 13 Aug 2008 22:54:23 -0700
changeset 18167 7e3a88e4ce70014809195bba9f76fef9c87bd21d
parent 18166 13dd79c7d3a8be255d81a24153e982bb2ba68edd
child 18168 089406b2b0aa42a38996f7c7beb406985bd1e658
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.1a2pre
Fix outrageously incorrect comment.
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -945,18 +945,18 @@ FlushNativeGlobalFrame(JSContext* cx, un
         if (!NativeToValue(cx, *vp, *mp, np + gslots[n]))
             return false;
         ++mp;
     );
     debug_only(printf("\n");)
     return true;
 }
 
-/* Box the given native global frame into the global object. This only fails due to a hard error
-   (out of memory for example). */
+/* Box the given native stack frame into the virtual machine stack. This only fails due to a 
+   hard error (out of memory for example). */
 static bool
 FlushNativeStackFrame(JSContext* cx, unsigned callDepth, uint8* mp, double* np)
 {
     uint8* mp_base = mp;
     double* np_base = np;
     /* Root all string and object references first (we don't need to call the GC for this). */
     FORALL_SLOTS_IN_PENDING_FRAMES(cx, callDepth,
         if ((*mp == JSVAL_STRING || *mp == JSVAL_OBJECT) && !NativeToValue(cx, *vp, *mp, np))