Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Unified Diff: src/objects.cc

Issue 251383003: Revert "*NumberDictionary::AtNumberPut() handlified." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 34fdf253430fe9904055ba1a87ed359bec4f4aca..9f500424fdfbd36df4ffbf067f7a2b698ce84715 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -16064,26 +16064,15 @@ Handle<UnseededNumberDictionary> UnseededNumberDictionary::AddNumberEntry(
}
-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* SeededNumberDictionary::AtNumberPut(uint32_t key, Object* value) {
+ UpdateMaxNumberKey(key);
+ 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);
+MaybeObject* UnseededNumberDictionary::AtNumberPut(uint32_t key,
+ Object* value) {
+ return AtPut(key, value);
}
« no previous file with comments | « src/objects.h ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698