зеркало из https://github.com/mozilla/pjs.git
Fix bug 114915 -- app not starting up in Mac opt builds. Work around a CodeWarrior optimizer bug by bumping down the optimization level for the optimized target. r=brendan, sr=shaver, a=Roto-rooter
This commit is contained in:
Родитель
fc5f077923
Коммит
8b30bb8c05
|
@ -29,3 +29,8 @@
|
||||||
|
|
||||||
#include "MacPrefix.h"
|
#include "MacPrefix.h"
|
||||||
#include "JavaScriptConfig.h"
|
#include "JavaScriptConfig.h"
|
||||||
|
|
||||||
|
// Bump down the optimization level to avoid a bug in the Pro 7 optimizer
|
||||||
|
// with JS_ISIDENT() called with -1 (see bug 114915).
|
||||||
|
|
||||||
|
#pragma optimization_level 2
|
||||||
|
|
Загрузка…
Ссылка в новой задаче