Merge.
This commit is contained in:
@@ -304,20 +304,13 @@ builtin_CloseIterator(JSContext* cx, jsval v)
|
||||
}
|
||||
|
||||
GuardRecord* FASTCALL
|
||||
builtin_CallTree(InterpState* outer, Fragment* f)
|
||||
builtin_CallTree(InterpState* state, Fragment* f)
|
||||
{
|
||||
/* current we can't deal with inner trees that have globals so report an error */
|
||||
if (((TreeInfo*)f->vmprivate)->globalSlots.length())
|
||||
return NULL;
|
||||
InterpState state;
|
||||
state.ip = f->ip;
|
||||
state.sp = outer->sp;
|
||||
state.rp = outer->rp;
|
||||
state.gp = outer->gp;
|
||||
state.cx = outer->cx;
|
||||
JS_ASSERT(!((TreeInfo*)f->vmprivate)->globalSlots.length());
|
||||
union { NIns *code; GuardRecord* (FASTCALL *func)(InterpState*, Fragment*); } u;
|
||||
u.code = f->code();
|
||||
return u.func(&state, NULL);
|
||||
return u.func(state, NULL);
|
||||
}
|
||||
|
||||
JSObject* FASTCALL
|
||||
|
||||
Reference in New Issue
Block a user