Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 7e768d90c19b07cbf25e1cb543f3257e65c50840..0df564b9eaf5ced4671579b9d8fa196a3e43daef 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -16058,15 +16058,26 @@ Handle<UnseededNumberDictionary> UnseededNumberDictionary::AddNumberEntry( |
} |
-MaybeObject* SeededNumberDictionary::AtNumberPut(uint32_t key, Object* value) { |
- UpdateMaxNumberKey(key); |
- return AtPut(key, value); |
+Handle<SeededNumberDictionary> SeededNumberDictionary::AtNumberPut( |
+ Handle<SeededNumberDictionary> dictionary, |
+ uint32_t key, |
+ Handle<Object> value) { |
+ dictionary->UpdateMaxNumberKey(key); |
+ CALL_HEAP_FUNCTION( |
+ dictionary->GetIsolate(), |
+ dictionary->AtPut(key, *value), |
+ SeededNumberDictionary); |
} |
-MaybeObject* UnseededNumberDictionary::AtNumberPut(uint32_t key, |
- Object* value) { |
- return AtPut(key, value); |
+Handle<UnseededNumberDictionary> UnseededNumberDictionary::AtNumberPut( |
+ Handle<UnseededNumberDictionary> dictionary, |
+ uint32_t key, |
+ Handle<Object> value) { |
+ CALL_HEAP_FUNCTION( |
+ dictionary->GetIsolate(), |
+ dictionary->AtPut(key, *value), |
+ UnseededNumberDictionary); |
} |