Index: src/mips/assembler-mips.cc |
diff --git a/src/mips/assembler-mips.cc b/src/mips/assembler-mips.cc |
index cc45cda5f3c76ce817429329fc7c23d6fe76192a..29df222f40c78f76b72c9f6be79b1ad89adfa7c4 100644 |
--- a/src/mips/assembler-mips.cc |
+++ b/src/mips/assembler-mips.cc |
@@ -105,7 +105,8 @@ const char* DoubleRegister::AllocationIndexToString(int index) { |
void CpuFeatures::Probe() { |
unsigned standard_features = (OS::CpuFeaturesImpliedByPlatform() | |
CpuFeaturesImpliedByCompiler()); |
- ASSERT(supported_ == 0 || supported_ == standard_features); |
+ ASSERT(supported_ == 0 || |
+ (supported_ & standard_features) == standard_features); |
#ifdef DEBUG |
initialized_ = true; |
#endif |