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

Unified Diff: runtime/vm/class_finalizer.cc

Issue 26682003: Cache number of type arguments in class object instead of recalculating it. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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
Index: runtime/vm/class_finalizer.cc
===================================================================
--- runtime/vm/class_finalizer.cc (revision 28616)
+++ runtime/vm/class_finalizer.cc (working copy)
@@ -2598,16 +2598,6 @@
}
-void ClassFinalizer::ReportError(const char* format, ...) {
- va_list args;
- va_start(args, format);
- const Error& error = Error::Handle(
- Parser::FormatError(Script::Handle(), -1, "Error", format, args));
- va_end(args);
- ReportError(error);
-}
-
-
void ClassFinalizer::VerifyImplicitFieldOffsets() {
#ifdef DEBUG
Isolate* isolate = Isolate::Current();
« no previous file with comments | « runtime/vm/class_finalizer.h ('k') | runtime/vm/dart_api_impl.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698