Paper over some missing refactoring on mozilla-central.
authorRobert Sayre <sayrer@gmail.com>
Tue, 17 Aug 2010 01:51:32 -0400
changeset 50713 b51b190b9fcc59c10653a9e3a9e8ae09bcf0de95
parent 50712 7802c6c281e247c8c6327bea3f33834931faa237
child 50714 3e1fc0dcf7c8be3abcaa0d4244aedfe375d09410
child 50736 cb39cf6342e529538f5d3969d83e127479ad7945
push idunknown
push userunknown
push dateunknown
milestone2.0b4pre
Paper over some missing refactoring on mozilla-central.
js/src/jstracer.cpp
--- a/js/src/jstracer.cpp
+++ b/js/src/jstracer.cpp
@@ -10352,17 +10352,17 @@ IsTraceableRecursion(JSContext *cx)
     if (fp->imacpc || down->imacpc)
         return false;
     if ((fp->flags & JSFRAME_CONSTRUCTING) || (down->flags & JSFRAME_CONSTRUCTING))
         return false;
     if (fp->blockChain || down->blockChain)
         return false;
     if (*fp->script->code != JSOP_TRACE)
         return false;
-    return !fp->getFunction()->isHeavyweight();
+    return !fp->fun->isHeavyweight();
 }
 
 JS_REQUIRES_STACK AbortableRecordingStatus
 TraceRecorder::record_EnterFrame(uintN& inlineCallCount)
 {
     JSStackFrame* const fp = cx->fp;
 
     if (++callDepth >= MAX_CALLDEPTH)