Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index 1ca4d525da82fd715cf4fb76e2603cdbc8fd3c54..962255dacdf2f1b5d3f616a50d7798f9f35c7dd0 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -50,6 +50,12 @@ unsigned CpuFeatures::supported_ = 0; |
unsigned CpuFeatures::found_by_runtime_probing_ = 0; |
+ExternalReference ExternalReference::cpu_features() { |
+ ASSERT(CpuFeatures::initialized_); |
+ return ExternalReference(&CpuFeatures::supported_); |
+} |
+ |
+ |
// Get the CPU features enabled by the build. For cross compilation the |
// preprocessor symbols CAN_USE_FPU_INSTRUCTIONS |
// can be defined to enable FPU instructions when building the |