[cctest] Avoid redundant call in cctest/test-api/CallAsFunction

R=jkummerow@chromium.org

Bug: v8:7497
Change-Id: I4b75fde49a352a6e8d99211efdbb09d77aa88069
Reviewed-on: https://chromium-review.googlesource.com/938183
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51583}
This commit is contained in:
Adam Klein 2018-02-26 12:42:58 -08:00 committed by Commit Bot
parent 8fa85efd27
commit 0084d42dc9

View File

@ -11391,7 +11391,6 @@ THREADED_TEST(CallAsFunction) {
try_catch.Reset();
// Call an object without call-as-function handler through the API
value = CompileRun("obj2(28)");
v8::Local<Value> args[] = {v8_num(28)};
CHECK(
instance->CallAsFunction(context.local(), instance, 1, args).IsEmpty());