Store frame state information in the code cache and merely put a pointer to it onto the native call stack (470375, r=danderson).

This commit is contained in:
Andreas Gal
2009-01-01 17:55:43 -08:00
parent 999190f2ce
commit 048f3c87df
3 changed files with 20 additions and 32 deletions

View File

@@ -282,7 +282,7 @@ js_CallTree(InterpState* state, Fragment* f)
the outer tree the failing call was in starting at that guard. */
if (!state->lastTreeCallGuard) {
state->lastTreeCallGuard = lr;
FrameInfo* rp = (FrameInfo*)state->rp;
FrameInfo** rp = (FrameInfo**)state->rp;
state->rpAtLastTreeCall = rp + lr->calldepth;
}
} else {