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

Unified Diff: vm/exceptions.h

Issue 11639007: Cleanup the exceptions create code to use Arrays instead GrowableArrays so (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years 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 | « vm/dart_entry.cc ('k') | vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/exceptions.h
===================================================================
--- vm/exceptions.h (revision 16285)
+++ vm/exceptions.h (working copy)
@@ -62,12 +62,10 @@
kIsolateUnhandledException
};
- static void ThrowByType(ExceptionType type,
- const GrowableArray<const Object*>& arguments);
+ static void ThrowByType(ExceptionType type, const Array& arguments);
// Returns a RawInstance if the exception is successfully created,
// otherwise returns a RawError.
- static RawObject* Create(ExceptionType type,
- const GrowableArray<const Object*>& arguments);
+ static RawObject* Create(ExceptionType type, const Array& arguments);
private:
DISALLOW_COPY_AND_ASSIGN(Exceptions);
« no previous file with comments | « vm/dart_entry.cc ('k') | vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698