Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index afb7a7a18408b0f961c08fd6bbb19b0757433b9e..0ae752dae04a3ed59aedad06f9ca25b7d91c8f30 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -147,7 +147,7 @@ RUNTIME_FUNCTION(Runtime_OptimizeOsr) { |
HandleScope scope(isolate); |
// This function is used by fuzzers, ignore calls with bogus arguments count. |
- if (args.length() != 0 && args.length() == 1) { |
+ if (args.length() != 0 && args.length() != 1) { |
return isolate->heap()->undefined_value(); |
} |