Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index d6765ddb09a33232dd14749f0608125458f68364..3474ebd8f7222f87acb8481bf91f00c2a666c0a0 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -257,7 +257,7 @@ void JSObject::JSObjectVerify() { |
VerifyHeapPointer(properties()); |
VerifyHeapPointer(elements()); |
- if (GetElementsKind() == SLOPPY_ARGUMENTS_ELEMENTS) { |
+ if (HasSloppyArgumentsElements()) { |
CHECK(this->elements()->IsFixedArray()); |
CHECK_GE(this->elements()->length(), 2); |
} |
@@ -1104,7 +1104,8 @@ void JSObject::IncrementSpillStatistics(SpillInformation* info) { |
dict->Capacity() - dict->NumberOfElements(); |
break; |
} |
- case SLOPPY_ARGUMENTS_ELEMENTS: |
+ case FAST_SLOPPY_ARGUMENTS_ELEMENTS: |
+ case SLOW_SLOPPY_ARGUMENTS_ELEMENTS: |
break; |
} |
} |