Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 700617aea90366cd630816840c63de4ddf4d9329..c28b641b7792ab070dddebf4b5cd3b71b02349e3 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -326,8 +326,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)); |
} |