Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 0e50a3b8f604504d3ddbe87e3a214b7238bdd9f1..b9a57e2bde5fd8f2b92ff5a35d17f4adf70b4c41 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2045,6 +2045,8 @@ class JSObject: public JSReceiver { |
inline bool HasSlowArgumentsElements(); |
inline bool HasFastStringWrapperElements(); |
inline bool HasSlowStringWrapperElements(); |
+ bool HasEnumerableElements(); |
+ |
inline SeededNumberDictionary* element_dictionary(); // Gets slow elements. |
// Requires: HasFastElements(). |
@@ -2298,6 +2300,9 @@ class JSObject: public JSReceiver { |
static Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object); |
+ static Handle<FixedArray> GetFastEnumPropertyKeys(Isolate* isolate, |
+ Handle<JSObject> object); |
+ |
// Returns a new map with all transitions dropped from the object's current |
// map and the ElementsKind set. |
static Handle<Map> GetElementsTransitionMap(Handle<JSObject> object, |
@@ -2894,6 +2899,8 @@ class ArrayList : public FixedArray { |
}; |
static Handle<ArrayList> Add(Handle<ArrayList> array, Handle<Object> obj, |
AddMode mode = kNone); |
+ static Handle<ArrayList> Add(Handle<ArrayList> array, Smi* smi, |
+ AddMode mode = kNone); |
static Handle<ArrayList> Add(Handle<ArrayList> array, Handle<Object> obj1, |
Handle<Object> obj2, AddMode = kNone); |
inline int Length(); |