Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index bd26f9277b4ad4d5142ad6e8daf65e5f264b582a..4f3b1e3482c41ef4c2ac02c2ea91848cb01292f2 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -7752,7 +7752,6 @@ static void ArgumentsTestCallback( |
ApiTestFuzzer::Fuzz(); |
v8::Isolate* isolate = args.GetIsolate(); |
Local<Context> context = isolate->GetCurrentContext(); |
- CHECK(args_fun->Equals(context, args.Callee()).FromJust()); |
CHECK_EQ(3, args.Length()); |
CHECK(v8::Integer::New(isolate, 1)->Equals(context, args[0]).FromJust()); |
CHECK(v8::Integer::New(isolate, 2)->Equals(context, args[1]).FromJust()); |
@@ -21469,7 +21468,6 @@ class ApiCallOptimizationChecker { |
static void OptimizationCallback( |
const v8::FunctionCallbackInfo<v8::Value>& info) { |
- CHECK(callee == info.Callee()); |
CHECK(data == info.Data()); |
CHECK(receiver == info.This()); |
if (info.Length() == 1) { |