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

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

Issue 1882833006: Revert of Immediately cache compiled scripts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 | « test/cctest/heap/test-heap.cc ('k') | test/mjsunit/osr-elements-kind.js » ('j') | 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 ab864cbe213667d1a26a23f83d829e0335225104..6bea3eaefee603ed7bc02a56be251082ba6ad27a 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -24064,7 +24064,8 @@
script->Run(context).ToLocalChecked()->Int32Value(context).FromJust());
}
-TEST(InvalidParserCacheData) {
+
+TEST(InvalidCacheData) {
v8::V8::Initialize();
v8::HandleScope scope(CcTest::isolate());
LocalContext context;
@@ -24072,12 +24073,6 @@
// Cached parser data is not consumed while parsing eagerly.
TestInvalidCacheData(v8::ScriptCompiler::kConsumeParserCache);
}
-}
-
-TEST(InvalidCodeCacheData) {
- v8::V8::Initialize();
- v8::HandleScope scope(CcTest::isolate());
- LocalContext context;
TestInvalidCacheData(v8::ScriptCompiler::kConsumeCodeCache);
}
« no previous file with comments | « test/cctest/heap/test-heap.cc ('k') | test/mjsunit/osr-elements-kind.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698