Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index 4117eedd414033b55d2cbd2999db537560401f14..9ab70bbfaf692e6aa572320cd37515ba91c886e6 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -1436,8 +1436,7 @@ class FastElementsAccessor : public ElementsAccessorBase<Subclass, KindTraits> { |
} |
if (entry == 0) { |
FixedArray* empty = heap->empty_fixed_array(); |
- if (FastElementsAccessorSubclass::kind() == |
- FAST_SLOPPY_ARGUMENTS_ELEMENTS) { |
+ if (Subclass::kind() == FAST_SLOPPY_ARGUMENTS_ELEMENTS) { |
FixedArray::cast(obj->elements())->set(1, empty); |
} else { |
obj->set_elements(empty); |