Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 4a37b07c71cfb6f12f1ced4e54fc58768362edb0..621a9bbfa21ebd0df7f6b5602b8e9e6487c1e89e 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -273,7 +273,7 @@ static void GenerateStringCheck(MacroAssembler* masm, |
// Check that the object is a string. |
__ mov(scratch, FieldOperand(receiver, HeapObject::kMapOffset)); |
__ movzx_b(scratch, FieldOperand(scratch, Map::kInstanceTypeOffset)); |
- ASSERT(kNotStringTag != 0); |
+ STATIC_ASSERT(kNotStringTag != 0); |
__ test(scratch, Immediate(kNotStringTag)); |
__ j(not_zero, non_string_object); |
} |