Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 42828c5152deb835dd3e74e96faf702e372a961f..34ce7999dc91477a1e816fe06deca6576a6f8112 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2274,8 +2274,8 @@ class JSObject: public JSReceiver { |
Handle<JSObject> object, const char* type, Handle<Name> name, |
Handle<Object> old_value); |
- // Gets the current elements capacity and the number of used elements. |
- void GetElementsCapacityAndUsage(int* capacity, int* used); |
+ // Gets the number of currently used elements. |
+ int GetFastElementsUsage(); |
// Deletes an existing named property in a normalized object. |
static void DeleteNormalizedProperty(Handle<JSObject> object, |
@@ -2330,7 +2330,7 @@ class JSObject: public JSReceiver { |
static Handle<Smi> GetOrCreateIdentityHash(Handle<JSObject> object); |
static Handle<SeededNumberDictionary> GetNormalizedElementDictionary( |
- Handle<JSObject> object); |
+ Handle<JSObject> object, Handle<FixedArrayBase> elements); |
// Helper for fast versions of preventExtensions, seal, and freeze. |
// attrs is one of NONE, SEALED, or FROZEN (depending on the operation). |