mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
Remove dead code, add a debug printf.
This commit is contained in:
parent
3950d4c4a9
commit
c7648bbce5
@ -1290,11 +1290,6 @@ TraceRecorder::closeLoop(Fragmento* fragmento)
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
addDependentTree(Fragment* master, Fragment* slave)
|
||||
{
|
||||
}
|
||||
|
||||
/* Record a call to an inner tree. */
|
||||
void
|
||||
TraceRecorder::emitTreeCall(Fragment* inner, GuardRecord* lr)
|
||||
@ -1618,6 +1613,7 @@ js_ContinueRecording(JSContext* cx, TraceRecorder* r, jsbytecode* oldpc, uintN&
|
||||
js_AbortRecording(cx, oldpc, "Inner tree is trying to grow, abort outer recording");
|
||||
return js_AttemptToExtendTree(cx, lr, lr->from);
|
||||
default:
|
||||
debug_only(printf("exit_type=%d\n", lr->exit->exitType);)
|
||||
js_AbortRecording(cx, oldpc, "Inner tree not suitable for calling");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user