Commit 0084d42d authored by Adam Klein's avatar Adam Klein Committed by Commit Bot

[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/938183Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#51583}
parent 8fa85efd
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment