[runtime] Fix typo in args check of %OptimizeOsr.

R=mstarzinger@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2134163002
Cr-Commit-Position: refs/heads/master@{#37636}
This commit is contained in:
neis 2016-07-11 04:25:03 -07:00 committed by Commit bot
parent f57b0604ed
commit 18551d7a32

View File

@ -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();
}