Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 7ad1c29854a86bfe24691d4cec300ac0ce11f534..4dfe46d93c21c0b79865a3b9dcfa8c1db88faa4b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6443,9 +6443,12 @@ class Map: public HeapObject { |
Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); |
+ // Update field type of the given descriptor to new representation and new |
+ // type. The type must be prepared for storing in descriptor array: |
+ // it must be either a simple type or a map wrapped in a weak cell. |
void UpdateFieldType(int descriptor_number, Handle<Name> name, |
Representation new_representation, |
- Handle<HeapType> new_type); |
+ Handle<Object> new_wrapped_type); |
void PrintReconfiguration(FILE* file, int modify_index, PropertyKind kind, |
PropertyAttributes attributes); |