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

Unified Diff: runtime/vm/object.h

Issue 10702067: - Separate store buffer data in the isolate into the StoreBufferBlock and (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | 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 9322)
+++ runtime/vm/object.h (working copy)
@@ -375,6 +375,7 @@
// TODO(iposva): Implement real store barrier here.
*addr = value;
// Filter stores based on source and target.
+ if (!value->IsHeapObject()) return;
if (value->IsNewObject() && raw()->IsOldObject()) {
uword ptr = reinterpret_cast<uword>(addr);
Isolate::Current()->store_buffer()->AddPointer(ptr);
@@ -2886,8 +2887,8 @@
class Integer : public Number {
public:
- static RawInteger* New(const String& str);
- static RawInteger* New(int64_t value);
+ static RawInteger* New(const String& str, Heap::Space space = Heap::kNew);
+ static RawInteger* New(int64_t value, Heap::Space space = Heap::kNew);
virtual double AsDoubleValue() const;
virtual int64_t AsInt64Value() const;
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698