Remove dead code.

This commit is contained in:
Andreas Gal 2008-08-06 22:10:30 -07:00
parent 72f8db35a1
commit 1405e5e0a2

View File

@ -1496,10 +1496,6 @@ js_ExecuteTree(JSContext* cx, Fragment* f, uintN& inlineCallCount)
JSObject* globalObj = JS_GetGlobalForObject(cx, cx->fp->scopeChain);
if (OBJ_SCOPE(globalObj)->shape != ti->globalShape) {
AUDIT(globalShapeMismatchAtEntry);
//debug_only(printf("global shape mismatch, discarding trace (started pc %u line %u).\n",
// (jsbytecode*)f->root->ip - cx->fp->script->code,
// js_PCToLineNumber(cx, cx->fp->script, (jsbytecode*)f->root->ip));)
//js_TrashTree(cx, f);
debug_only(printf("global shape mismatch, flushing cache.\n"));
js_FlushJITCache(cx);
return NULL;