Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 8ed3729cfda5d14495949906cf3c8043e079d08a..e88bc1cbebb7505e15a66067ffbc52297b4c1f51 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -146,13 +146,13 @@ static Failure* ThrowArrayLengthRangeError(Heap* heap) { |
} |
-void CopyObjectToObjectElements(FixedArray* from, |
- ElementsKind from_kind, |
- uint32_t from_start, |
- FixedArray* to, |
- ElementsKind to_kind, |
- uint32_t to_start, |
- int raw_copy_size) { |
+static void CopyObjectToObjectElements(FixedArray* from, |
+ ElementsKind from_kind, |
+ uint32_t from_start, |
+ FixedArray* to, |
+ ElementsKind to_kind, |
+ uint32_t to_start, |
+ int raw_copy_size) { |
ASSERT(to->map() != HEAP->fixed_cow_array_map()); |
int copy_size = raw_copy_size; |
if (raw_copy_size < 0) { |