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

Unified Diff: runtime/vm/raw_object.h

Issue 399233003: Fix Linux build: (unnecessarily) initialize record so that warnings are shut down. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 38339)
+++ runtime/vm/raw_object.h (working copy)
@@ -917,7 +917,11 @@
};
// Compressed version assumes try_index is always -1 and does not store it.
- struct PcDescriptorRec {
+ class PcDescriptorRec {
+ public:
+ PcDescriptorRec()
+ : pc_(0), deopt_id_and_kind_(0), token_pos_(0), try_index_(0) {}
+
uword pc() const { return pc_; }
void set_pc(uword value) { pc_ = value; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698