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

Unified Diff: src/elements.h

Issue 9808111: Fix missing write barrier in CopyObjectToObjectElements. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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 | src/elements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/elements.h
diff --git a/src/elements.h b/src/elements.h
index e853a8808e08c539c41a64354d19ed61117694b6..ff97c08324759ce48b0c04414653a81e55ee5575 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -107,16 +107,14 @@ class ElementsAccessor {
ElementsKind destination_kind,
uint32_t destination_start,
int copy_size,
- WriteBarrierMode mode,
FixedArrayBase* source = NULL) = 0;
MaybeObject* CopyElements(JSObject* from_holder,
FixedArrayBase* to,
ElementsKind to_kind,
- WriteBarrierMode mode,
FixedArrayBase* from = NULL) {
return CopyElements(from_holder, 0, to, to_kind, 0,
- kCopyToEndAndInitializeToHole, mode, from);
+ kCopyToEndAndInitializeToHole, from);
}
virtual MaybeObject* AddElementsToFixedArray(Object* receiver,
@@ -164,8 +162,7 @@ void CopyObjectToObjectElements(FixedArray* from_obj,
FixedArray* to_obj,
ElementsKind to_kind,
uint32_t to_start,
- int copy_size,
- WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
+ int copy_size);
} } // namespace v8::internal
« no previous file with comments | « no previous file | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698