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

Unified Diff: runtime/vm/raw_object.h

Issue 10796103: Use kIllegalObjectKind instead of NULL object to terminate ICData array (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 9829)
+++ runtime/vm/raw_object.h (working copy)
@@ -883,13 +883,13 @@
RawObject** from() {
return reinterpret_cast<RawObject**>(&ptr()->function_);
}
- RawFunction* function_; // Parent/calling function of this IC.
- RawString* target_name_; // Name of target function.
- RawArray* ic_data_; // Contains test class-ids and target functions.
+ RawFunction* function_; // Parent/calling function of this IC.
+ RawString* target_name_; // Name of target function.
+ RawArray* ic_data_; // Contains test class-ids and target functions.
RawObject** to() {
return reinterpret_cast<RawObject**>(&ptr()->ic_data_);
}
- intptr_t id_; // Parser node id corresponding to this IC.
+ intptr_t id_; // Parser node id corresponding to this IC.
intptr_t num_args_tested_; // Number of arguments tested in IC.
};
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698