Bug 858566 - Avoid inadvertently enabling global optimziaion if --disable-optimize under Windows. r=dvander

This commit is contained in:
Bill Gianopoulos 2013-05-16 20:39:05 -04:00
parent 80dbbbe2dc
commit 557649a7f5

View File

@ -2541,7 +2541,7 @@ DoBinaryArithFallback(JSContext *cx, BaselineFrame *frame, ICBinaryArith_Fallbac
return true;
}
#if defined(_MSC_VER)
# pragma optimize("g", on)
# pragma optimize("", on)
#endif
typedef bool (*DoBinaryArithFallbackFn)(JSContext *, BaselineFrame *, ICBinaryArith_Fallback *,
@ -2956,7 +2956,7 @@ DoUnaryArithFallback(JSContext *cx, BaselineFrame *frame, ICUnaryArith_Fallback
return true;
}
#if defined(_MSC_VER)
# pragma optimize("g", on)
# pragma optimize("", on)
#endif
typedef bool (*DoUnaryArithFallbackFn)(JSContext *, BaselineFrame *, ICUnaryArith_Fallback *,