Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 23e2398b34657d6efbd0f25f7a99bd026de21925..43576d62733c84ea37db3f7e5e507f7818100e05 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -1705,7 +1705,7 @@ Handle<Code> CallStubCompiler::CompileArrayCodeCall( |
} |
Handle<AllocationSite> site = isolate()->factory()->NewAllocationSite(); |
- site->set_transition_info(Smi::FromInt(GetInitialFastElementsKind())); |
+ site->SetElementsKind(GetInitialFastElementsKind()); |
Handle<Cell> site_feedback_cell = isolate()->factory()->NewCell(site); |
__ mov(eax, Immediate(argc)); |
__ mov(ebx, site_feedback_cell); |