Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 57232f218ea0d8e0904ef023421c383c96d1eda8..fcf0c6deab2f04bd593a95b8a8274a819768be31 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -272,8 +272,7 @@ inline bool HasOnlySimpleReceiverElements(Isolate* isolate, |
inline bool HasOnlySimpleElements(Isolate* isolate, JSReceiver* receiver) { |
DisallowHeapAllocation no_gc; |
- PrototypeIterator iter(isolate, receiver, |
- PrototypeIterator::START_AT_RECEIVER); |
+ PrototypeIterator iter(isolate, receiver, kStartAtReceiver); |
for (; !iter.IsAtEnd(); iter.Advance()) { |
if (iter.GetCurrent()->IsJSProxy()) return false; |
JSObject* current = iter.GetCurrent<JSObject>(); |