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

Unified Diff: vm/raw_object.h

Issue 11087070: - Get rid of RawClosure class and use RawInstance for closures. (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 | « vm/object_test.cc ('k') | vm/raw_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/raw_object.h
===================================================================
--- vm/raw_object.h (revision 13564)
+++ vm/raw_object.h (working copy)
@@ -92,7 +92,6 @@
V(JSRegExp) \
V(WeakProperty) \
V(DartFunction) \
- V(Closure) \
#define CLASS_LIST(V) \
V(Object) \
@@ -1433,19 +1432,6 @@
};
-class RawClosure : public RawInstance {
- RAW_HEAP_OBJECT_IMPLEMENTATION(Closure);
-
- RawObject** from() {
- return reinterpret_cast<RawObject**>(&ptr()->type_arguments_);
- }
- RawAbstractTypeArguments* type_arguments_;
- RawFunction* function_;
- RawContext* context_;
- RawObject** to() { return reinterpret_cast<RawObject**>(&ptr()->context_); }
-};
-
-
// VM type for capturing stacktraces when exceptions are thrown,
// Currently we don't have any interface that this object is supposed
// to implement so we just support the 'toString' method which
« no previous file with comments | « vm/object_test.cc ('k') | vm/raw_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698