Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6dd2a99518753b694a64e44b9848d0c9713a4935..31ae7b72e2ba3edfee06d87db871543f96035276 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -2437,6 +2437,8 @@ String* SlicedString::parent() { |
void SlicedString::set_parent(String* parent) { |
ASSERT(parent->IsSeqString() || parent->IsExternalString()); |
WRITE_FIELD(this, kParentOffset, parent); |
+ WriteBarrierMode mode = UPDATE_WRITE_BARRIER; |
Michael Starzinger
2012/07/17 12:38:45
Can we pass in the WriteBarrierMode as a parameter
|
+ CONDITIONAL_WRITE_BARRIER(GetHeap(), this, kParentOffset, parent, mode); |
} |