Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index dd73ce1d7de7e307ef2bca4adb76824b22f9a683..9e9022d3f27681ad01f1961dec283ed0d84e3ded 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -176,6 +176,11 @@ class CpuFeatures : public AllStatic { |
ProbeImpl(cross_compile); |
} |
+ static unsigned SupportedFeatures() { |
+ Probe(false); |
+ return supported_; |
+ } |
+ |
static bool IsSupported(CpuFeature f) { |
return (supported_ & (1u << f)) != 0; |
} |