Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index b989a8880569e52dc4cc990f6e20ce23b746a531..c5d1849fc2293debbf5122ec9bc9ec29f90bdd95 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -46,6 +46,12 @@ uint64_t CpuFeatures::supported_ = CpuFeatures::kDefaultCpuFeatures; |
uint64_t CpuFeatures::found_by_runtime_probing_ = 0; |
+ExternalReference ExternalReference::cpu_features() { |
+ ASSERT(CpuFeatures::initialized_); |
+ return ExternalReference(&CpuFeatures::supported_); |
+} |
+ |
+ |
void CpuFeatures::Probe() { |
ASSERT(supported_ == CpuFeatures::kDefaultCpuFeatures); |
#ifdef DEBUG |