[JAEGER] Fixed regression in light frames.
authorDavid Anderson <danderson@mozilla.com>
Thu, 17 Jun 2010 20:33:16 -0700
changeset 52876 a72107c21a1909b26081801da8024e52abf22a59
parent 52875 adea5874e77e9a62bfd6e4662fc784cbdf282f5c
child 52877 a929bc86d0166dddf5df643dd6d53c08adf8ce2e
push idunknown
push userunknown
push dateunknown
milestone1.9.3a5pre
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
[JAEGER] Fixed regression in light frames.
js/src/methodjit/InvokeHelpers.cpp
--- a/js/src/methodjit/InvokeHelpers.cpp
+++ b/js/src/methodjit/InvokeHelpers.cpp
@@ -493,16 +493,17 @@ CreateLightFrame(VMFrame &f, uint32 flag
         newfp->hookData = NULL;
     }
 #endif
 
 #ifdef DEBUG
     newfp->savedPC = JSStackFrame::sInvalidPC;
 #endif
     newfp->down = fp;
+    fp->savedPC = f.regs.pc;
     cx->setCurrentFrame(newfp);
 
     if (newscript->staticLevel < JS_DISPLAY_SIZE) {
         JSStackFrame **disp = &cx->display[newscript->staticLevel];
         newfp->displaySave = *disp;
         *disp = newfp;
     }