The old debug API has been removed in SpiderMonkey 38, so remove profiler1 script profiling.

Patch by leper, refs #3708

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1069694

This was SVN commit r18580.
This commit is contained in:
Itms
2016-08-02 16:58:30 +00:00
parent 72ca6c5f80
commit 4e87fef3da
17 changed files with 27 additions and 121 deletions
+1 -5
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2015 Wildfire Games.
/* Copyright (C) 2016 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -66,8 +66,6 @@ bool g_VSync = false;
bool g_Quickstart = false;
bool g_DisableAudio = false;
bool g_ScriptProfilingEnabled = false;
// flag to switch on drawing terrain overlays
bool g_ShowPathfindingOverlay = false;
@@ -111,8 +109,6 @@ static void LoadGlobals()
CFG_GET_VAL("postproc", g_PostProc);
CFG_GET_VAL("smoothlos", g_SmoothLOS);
CFG_GET_VAL("gui.scale", g_GuiScale);
CFG_GET_VAL("profiler2.script.enable", g_ScriptProfilingEnabled);
}