Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu

This commit is contained in:
Tom Schuster
2014-09-23 15:25:31 +02:00
parent cf4a85d6e7
commit 27edac60d0
15 changed files with 326 additions and 365 deletions

View File

@@ -547,8 +547,7 @@ ThreadStackHelper::AppendJSEntry(const volatile StackEntry* aEntry,
const char* label;
if (IsChromeJSScript(aEntry->script())) {
const char* const filename = JS_GetScriptFilename(aEntry->script());
unsigned lineno = JS_PCToLineNumber(nullptr, aEntry->script(),
aEntry->pc());
unsigned lineno = JS_PCToLineNumber(aEntry->script(), aEntry->pc());
MOZ_ASSERT(filename);
char buffer[64]; // Enough to fit longest js file name from the tree