From 1405e5e0a24fa8b2547ef9651527b1efa9bbf13a Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Wed, 6 Aug 2008 22:10:30 -0700 Subject: [PATCH] Remove dead code. --- js/src/jstracer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp index 4e323916cff2..108619366a38 100644 --- a/js/src/jstracer.cpp +++ b/js/src/jstracer.cpp @@ -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;