Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 4f3b1e3482c41ef4c2ac02c2ea91848cb01292f2..bd26f9277b4ad4d5142ad6e8daf65e5f264b582a 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -7752,6 +7752,7 @@ |
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()); |
@@ -21468,6 +21469,7 @@ |
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) { |