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

Unified Diff: runtime/vm/object.h

Issue 533483003: Cleanup throwing of the RangeError in the runtime to remove duplicated code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 9608f2942820451e4951caf690c0869c8813b213..ae0879d2db9a1c53e4fc06b9d274868c034efe0d 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -6235,6 +6235,11 @@ class Array : public Instance {
// set to an empty array.
static RawArray* MakeArray(const GrowableObjectArray& growable_array);
+ void CopyFrom(intptr_t dst_start,
+ const Array& source,
+ intptr_t src_start,
+ intptr_t count) const;
+
protected:
static RawArray* New(intptr_t class_id,
intptr_t len,

Powered by Google App Engine
This is Rietveld 408576698