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

Unified Diff: runtime/vm/object.h

Issue 186673003: Fix dartbug.com/17261 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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
===================================================================
--- runtime/vm/object.h (revision 33253)
+++ runtime/vm/object.h (working copy)
@@ -742,7 +742,10 @@
return raw_ptr()->type_parameters_;
}
void set_type_parameters(const TypeArguments& value) const;
- intptr_t NumTypeParameters() const;
+ intptr_t NumTypeParameters(Isolate* isolate) const;
+ intptr_t NumTypeParameters() const {
+ return NumTypeParameters(Isolate::Current());
+ }
static intptr_t type_parameters_offset() {
return OFFSET_OF(RawClass, type_parameters_);
}
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698