Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 5b83bce8baa91dcb68bd4f10a2871bc310cc40d6..3d81353bcfd574bd866ccd20d994d0eb728871aa 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -2112,8 +2112,7 @@ void StoreScriptContextFieldStub::GenerateAssembly( |
Node* script_context = assembler.LoadScriptContext(context, context_index()); |
assembler.StoreFixedArrayElement( |
- script_context, assembler.IntPtrConstant(slot_index()), value, |
- UPDATE_WRITE_BARRIER, 0, CodeStubAssembler::INTPTR_PARAMETERS); |
+ script_context, assembler.IntPtrConstant(slot_index()), value); |
assembler.Return(value); |
} |
@@ -2555,8 +2554,7 @@ compiler::Node* FastNewClosureStub::Generate(CodeStubAssembler* assembler, |
// as the map of the allocated object. |
Node* native_context = assembler->LoadNativeContext(context); |
Node* map_slot_value = |
- assembler->LoadFixedArrayElement(native_context, map_index.value(), 0, |
- CodeStubAssembler::INTPTR_PARAMETERS); |
+ assembler->LoadFixedArrayElement(native_context, map_index.value()); |
assembler->StoreMapNoWriteBarrier(result, map_slot_value); |
// Initialize the rest of the function. |
@@ -3086,7 +3084,7 @@ void InternalArrayNoArgumentConstructorStub::GenerateAssembly( |
Node* array = assembler.AllocateJSArray( |
elements_kind(), array_map, |
assembler.IntPtrConstant(JSArray::kPreallocatedArrayElements), |
- assembler.SmiConstant(Smi::kZero), nullptr); |
+ assembler.SmiConstant(Smi::kZero)); |
assembler.Return(array); |
} |