Index: src/runtime/runtime-strings.cc |
diff --git a/src/runtime/runtime-strings.cc b/src/runtime/runtime-strings.cc |
index 71f27a03d6edaf487efc206f11a8fca9eb76959a..2477eb70b9026a5256563b19c9bed124643a44c8 100644 |
--- a/src/runtime/runtime-strings.cc |
+++ b/src/runtime/runtime-strings.cc |
@@ -1077,7 +1077,7 @@ MUST_USE_RESULT static Object* ConvertCase( |
RUNTIME_FUNCTION(Runtime_StringToLowerCase) { |
HandleScope scope(isolate); |
- DCHECK(args.length() == 1); |
+ DCHECK_EQ(args.length(), 1); |
CONVERT_ARG_HANDLE_CHECKED(String, s, 0); |
return ConvertCase(s, isolate, isolate->runtime_state()->to_lower_mapping()); |
} |
@@ -1085,7 +1085,7 @@ RUNTIME_FUNCTION(Runtime_StringToLowerCase) { |
RUNTIME_FUNCTION(Runtime_StringToUpperCase) { |
HandleScope scope(isolate); |
- DCHECK(args.length() == 1); |
+ DCHECK_EQ(args.length(), 1); |
CONVERT_ARG_HANDLE_CHECKED(String, s, 0); |
return ConvertCase(s, isolate, isolate->runtime_state()->to_upper_mapping()); |
} |