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

Unified Diff: vm/object.h

Issue 11293031: Remove some unnecessary class handle creations. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.h
===================================================================
--- vm/object.h (revision 14311)
+++ vm/object.h (working copy)
@@ -4218,7 +4218,7 @@
static RawArray* MakeArray(const GrowableObjectArray& growable_array);
protected:
- static RawArray* New(const Class& cls,
+ static RawArray* New(intptr_t class_id,
intptr_t len,
Heap::Space space = Heap::kNew);
@@ -4374,18 +4374,18 @@
virtual uint8_t* ByteAddr(intptr_t byte_offset) const;
template<typename HandleT, typename RawT>
- static RawT* NewImpl(const Class& cls,
+ static RawT* NewImpl(intptr_t class_id,
intptr_t len,
Heap::Space space);
template<typename HandleT, typename RawT, typename ElementT>
- static RawT* NewImpl(const Class& cls,
+ static RawT* NewImpl(intptr_t class_id,
const ElementT* data,
intptr_t len,
Heap::Space space);
template<typename HandleT, typename RawT, typename ElementT>
- static RawT* NewExternalImpl(const Class& cls,
+ static RawT* NewExternalImpl(intptr_t class_id,
ElementT* data,
intptr_t len,
void* peer,
« no previous file with comments | « no previous file | vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698