diff --git a/js/src/jit/CompileInfo-inl.h b/js/src/jit/CompileInfo-inl.h index 28fc409b2435..d45658cdc1e8 100644 --- a/js/src/jit/CompileInfo-inl.h +++ b/js/src/jit/CompileInfo-inl.h @@ -11,8 +11,8 @@ #include "jsscriptinlines.h" -using namespace js; -using namespace jit; +namespace js { +namespace jit { inline RegExpObject * CompileInfo::getRegExp(jsbytecode *pc) const @@ -26,4 +26,7 @@ CompileInfo::getFunction(jsbytecode *pc) const return script_->getFunction(GET_UINT32_INDEX(pc)); } +} // namespace jit +} // namespace js + #endif /* jit_CompileInfo_inl_h */