Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 83096044cc6a2a7161e3203efe34a53a66f8c841..39aa95bfb5f77414458a3ce0508fb4e737182a0f 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -220,6 +220,8 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
// Store the Map of an HeapObject. |
compiler::Node* StoreMapNoWriteBarrier(compiler::Node* object, |
compiler::Node* map); |
+ compiler::Node* StoreObjectFieldRoot(compiler::Node* object, int offset, |
+ Heap::RootListIndex root); |
// Store an array element to a FixedArray. |
compiler::Node* StoreFixedArrayElement( |
compiler::Node* object, compiler::Node* index, compiler::Node* value, |
@@ -485,6 +487,12 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
CodeStubAssembler::Label* use_cache, |
CodeStubAssembler::Label* use_runtime); |
+ // Create a new weak cell with a specified value and install it into a |
+ // feedback vector. |
+ compiler::Node* CreateWeakCellInFeedbackVector( |
+ compiler::Node* feedback_vector, compiler::Node* slot, |
+ compiler::Node* value); |
+ |
private: |
compiler::Node* ElementOffsetFromIndex(compiler::Node* index, |
ElementsKind kind, ParameterMode mode, |