Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index a759f16281799f3e056f6c9581e8463661c4536c..7a475a71b0476e15ca66fa65c57d4ae2f09e3980 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -329,8 +329,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)); |
} |