Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: test/cctest/test-api.cc

Issue 2043103002: [stubs] Fixed PrimaryStubCache and SecondaryStubCache tests for Ignition. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 370ebc43a829b6161bd3edd136f5dc2f5d7371d7..2bb4efa74546356cfc1577ea2f81b6bc809cdc0b 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -21535,10 +21535,9 @@ void StubCacheHelper(bool primary) {
i::FLAG_turbo = false;
v8::Isolate::CreateParams create_params;
create_params.array_buffer_allocator = CcTest::array_buffer_allocator();
+ create_params.counter_lookup_callback = LookupCounter;
v8::Isolate* isolate = v8::Isolate::New(create_params);
- isolate->SetCounterFunction(LookupCounter);
-
{
v8::Isolate::Scope isolate_scope(isolate);
LocalContext env(isolate);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698