From 54f086506c8732926d3acaa2fed8675828d95a42 Mon Sep 17 00:00:00 2001 From: Ed Morley Date: Mon, 9 Jun 2014 13:17:53 +0100 Subject: [PATCH] Backed out changeset dcccbc732972 (bug 1009603) --- js/src/vm/TraceLogging.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/js/src/vm/TraceLogging.cpp b/js/src/vm/TraceLogging.cpp index d28232ef8d3..cc62ff0c4fe 100644 --- a/js/src/vm/TraceLogging.cpp +++ b/js/src/vm/TraceLogging.cpp @@ -378,9 +378,6 @@ TraceLogger::createTextId(const char *text) uint32_t TraceLogger::createTextId(JSScript *script) { - if (!script->filename()) - return createTextId(""); - assertNoQuotes(script->filename()); PointerHashMap::AddPtr p = pointerMap.lookupForAdd(script); @@ -409,9 +406,6 @@ TraceLogger::createTextId(JSScript *script) uint32_t TraceLogger::createTextId(const JS::ReadOnlyCompileOptions &compileOptions) { - if (!compileOptions.filename()) - return createTextId(""); - assertNoQuotes(compileOptions.filename()); PointerHashMap::AddPtr p = pointerMap.lookupForAdd(&compileOptions);