Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 9f500424fdfbd36df4ffbf067f7a2b698ce84715..34fdf253430fe9904055ba1a87ed359bec4f4aca 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -16064,15 +16064,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); |
} |