зеркало из https://github.com/mozilla/gecko-dev.git
Remove debug printfs (no bug).
This commit is contained in:
Родитель
b4232322c2
Коммит
762cbce0ea
|
@ -836,9 +836,6 @@ bad:
|
|||
JS_PUBLIC_API(void)
|
||||
JS_CommenceRuntimeShutDown(JSRuntime *rt)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "JS_CommenceRuntimeShutDown\n");
|
||||
#endif
|
||||
rt->gcFlushCodeCaches = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -2108,9 +2108,6 @@ oom:
|
|||
void
|
||||
JSTraceMonitor::flush()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "JSTraceMonitor::flush()\n");
|
||||
#endif
|
||||
if (fragmento) {
|
||||
fragmento->clearFrags();
|
||||
for (size_t i = 0; i < FRAGMENT_TABLE_SIZE; ++i) {
|
||||
|
@ -2147,9 +2144,6 @@ void
|
|||
JSTraceMonitor::mark(JSTracer* trc)
|
||||
{
|
||||
if (!trc->context->runtime->gcFlushCodeCaches) {
|
||||
#ifdef DEBUG
|
||||
fprintf(stderr, "JSTraceMonitor::mark()\n");
|
||||
#endif
|
||||
for (size_t i = 0; i < FRAGMENT_TABLE_SIZE; ++i) {
|
||||
VMFragment* f = vmfragments[i];
|
||||
while (f) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче