Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 2b53ff19369ff526768d4308fdfad82855d5d1ca..c5f4f7602acc1d72b4fe4544dcdb0b95b5eb467f 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1351,6 +1351,9 @@ class JSReceiver: public HeapObject { |
StrictModeFlag strict_mode, |
bool check_prototype); |
+ // Tests for the fast common case for property enumeration. |
+ bool IsSimpleEnum(); |
+ |
// Returns the class name ([[Class]] property in the specification). |
String* class_name(); |
@@ -1603,9 +1606,6 @@ class JSObject: public JSReceiver { |
MUST_USE_RESULT MaybeObject* DeleteProperty(String* name, DeleteMode mode); |
MUST_USE_RESULT MaybeObject* DeleteElement(uint32_t index, DeleteMode mode); |
- // Tests for the fast common case for property enumeration. |
- bool IsSimpleEnum(); |
- |
inline void ValidateSmiOnlyElements(); |
// Makes sure that this object can contain non-smi Object as elements. |