Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 8f08408e40ee8db9b14f57a08e9aa4da1e4e7f1b..1eef36c3920f618e642aac96e8f220704d4a14f6 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -384,6 +384,14 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
Node* LoadMapConstructorFunctionIndex(Node* map); |
// Load the constructor of a Map (equivalent to Map::GetConstructor()). |
Node* LoadMapConstructor(Node* map); |
+ // Loads a value from the specially encoded integer fields in the |
+ // SharedFunctionInfo object. |
+ // TODO(danno): This currently only works for the integer fields that are |
+ // mapped to the upper part of 64-bit words. We should customize |
+ // SFI::BodyDescriptor and store int32 values directly. |
+ Node* LoadSharedFunctionInfoSpecialField(Node* shared, int offset, |
+ ParameterMode param_mode); |
+ |
// Check if the map is set for slow properties. |
Node* IsDictionaryMap(Node* map); |
@@ -1120,6 +1128,10 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
FixedArray::kHeaderSize); |
} |
+ void GotoIfFixedArraySizeDoesntFitInNewSpace(Node* element_count, |
+ Label* doesnt_fit, int base_size, |
+ ParameterMode mode); |
+ |
void InitializeFieldsWithRoot(Node* object, Node* start_offset, |
Node* end_offset, Heap::RootListIndex root); |