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

Unified Diff: runtime/vm/parser_test.cc

Issue 81333003: Do not eagerly finalize classes in CHA, instead regard unfinalized classes as ’non-existent’ an… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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
Index: runtime/vm/parser_test.cc
===================================================================
--- runtime/vm/parser_test.cc (revision 30540)
+++ runtime/vm/parser_test.cc (working copy)
@@ -123,7 +123,7 @@
script.Tokenize(String::Handle(String::New("")));
Parser::ParseCompilationUnit(lib, script);
- EXPECT(ClassFinalizer::FinalizePendingClasses());
+ EXPECT(ClassFinalizer::FinalizePendingClassInterfaces());
CheckField(lib, "A", "f1", false, false);
CheckField(lib, "A", "f2", false, true);
CheckField(lib, "A", "f3", false, true);
@@ -158,7 +158,7 @@
script.Tokenize(String::Handle(String::New("")));
Parser::ParseCompilationUnit(lib, script);
- EXPECT(ClassFinalizer::FinalizePendingClasses());
+ EXPECT(ClassFinalizer::FinalizePendingClassInterfaces());
DumpFunction(lib, "A", "foo");
DumpFunction(lib, "A", "bar");

Powered by Google App Engine
This is Rietveld 408576698