Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index ba7fbd3f4fdc18b70aa1af35fecf0e35121780fc..e68c722873f047c2831dc462e87890731b8a08fb 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -330,8 +330,7 @@ void LCallNewArray::PrintDataTo(StringStream* stream) { |
constructor()->PrintTo(stream); |
stream->Add(" #%d / ", arity()); |
ASSERT(hydrogen()->property_cell()->value()->IsSmi()); |
- ElementsKind kind = static_cast<ElementsKind>( |
- Smi::cast(hydrogen()->property_cell()->value())->value()); |
+ ElementsKind kind = hydrogen()->elements_kind(); |
stream->Add(" (%s) ", ElementsKindToString(kind)); |
} |