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

Unified Diff: runtime/vm/object.h

Issue 106623006: Fix bug in double unboxing. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed mips code Created 7 years 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 | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 31220)
+++ runtime/vm/object.h (working copy)
@@ -2119,6 +2119,8 @@
static intptr_t value_offset() { return OFFSET_OF(RawField, value_); }
+ static intptr_t kind_bits_offset() { return OFFSET_OF(RawField, kind_bits_); }
+
intptr_t token_pos() const { return raw_ptr()->token_pos_; }
bool has_initializer() const {
@@ -2233,8 +2235,10 @@
JSONStream* stream, const Instance& instance, bool ref) const;
private:
+ friend class StoreInstanceFieldInstr; // Generated code access to bit field.
+
enum {
- kConstBit = 1,
+ kConstBit = 0,
kStaticBit,
kFinalBit,
kHasInitializerBit,
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698