540706 - Small record_EnterFrame simplification (r=dvander)

This commit is contained in:
Luke Wagner 2010-03-02 12:56:48 -08:00
parent fe7558946d
commit 27eed6e277

View File

@ -9758,8 +9758,7 @@ TraceRecorder::record_EnterFrame(uintN& inlineCallCount)
jsval* vp = &fp->argv[fp->argc];
jsval* vpstop = vp + ptrdiff_t(fp->fun->nargs) - ptrdiff_t(fp->argc);
while (vp < vpstop) {
if (vp >= fp->down->regs->sp)
nativeFrameTracker.set(vp, (LIns*)0);
nativeFrameTracker.set(vp, (LIns*)0);
set(vp++, void_ins, true);
}