Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: src/runtime/runtime-test.cc

Issue 2134163002: [runtime] Fix typo in args check of %OptimizeOsr. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698