1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* compile-time and runtime tests for whether to use MIPS-specific extensions */
7 #ifndef mozilla_mips_h_
8 #define mozilla_mips_h_
10 // for definition of MFBT_DATA
11 #include "mozilla/Types.h"
15 namespace mips_private
{
16 extern bool MFBT_DATA isLoongson3
;
17 } // namespace mips_private
19 inline bool supports_mmi() {
21 return mips_private::isLoongson3
;
27 } // namespace mozilla
29 #endif /* !defined(mozilla_mips_h_) */