mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
Remove dead code.
This commit is contained in:
parent
72f8db35a1
commit
1405e5e0a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user