Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 10174) |
+++ src/runtime.cc (working copy) |
@@ -7997,7 +7997,7 @@ |
AssertNoAllocation no_gc; |
FixedArray* array = reinterpret_cast<FixedArray*>(obj); |
- array->set_map(isolate->heap()->fixed_array_map()); |
+ array->set_map_no_wb(isolate->heap()->fixed_array_map()); |
array->set_length(length); |
WriteBarrierMode mode = array->GetWriteBarrierMode(no_gc); |
@@ -8117,7 +8117,7 @@ |
for (int j = 0; j < argc; j++, i++) { |
new_bindings->set(i, *arguments[j + 1]); |
} |
- new_bindings->set_map(isolate->heap()->fixed_cow_array_map()); |
+ new_bindings->set_map_no_wb(isolate->heap()->fixed_cow_array_map()); |
bound_function->set_function_bindings(*new_bindings); |
// Update length. |