Bug 953410: Test for JS_ION in jit/IonOptimizationLevels.h to fix builds with --disable-ion, r=bhackett

This commit is contained in:
Hannes Verschore 2014-01-02 16:22:13 +01:00
parent 4bf0659d81
commit dc9ac690c8

View File

@ -24,6 +24,8 @@ enum OptimizationLevel
Optimization_Count Optimization_Count
}; };
#ifdef JS_ION
#ifdef DEBUG #ifdef DEBUG
inline const char * inline const char *
OptimizationLevelString(OptimizationLevel level) OptimizationLevelString(OptimizationLevel level)
@ -214,6 +216,8 @@ class OptimizationInfos
extern OptimizationInfos js_IonOptimizations; extern OptimizationInfos js_IonOptimizations;
#endif // JS_ION
} // namespace jit } // namespace jit
} // namespace js } // namespace js