Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 97d8724a76a55e291d5fcfc38523c05f0c318d1b..79fe2f41f0d6b2a78041ba08db535b1595ba2493 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -317,6 +317,12 @@ Node* CodeAssembler::Store(Node* base, Node* offset, Node* value) { |
value, kFullWriteBarrier); |
} |
+Node* CodeAssembler::StoreWithMapWriteBarrier(Node* base, Node* offset, |
+ Node* value) { |
+ return raw_assembler()->Store(MachineRepresentation::kTagged, base, offset, |
+ value, kMapWriteBarrier); |
+} |
+ |
Node* CodeAssembler::StoreNoWriteBarrier(MachineRepresentation rep, Node* base, |
Node* value) { |
return raw_assembler()->Store(rep, base, value, kNoWriteBarrier); |