Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index d494ac92c73824e6b2abb4875d59d6733a4112d5..72a263bbb998b73cd1e501a24a0ef624b8526280 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1029,7 +1029,7 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// Get the set of properties to enumerate. |
__ bind(&call_runtime); |
__ Push(rax); // Duplicate the enumerable object on the stack. |
- __ CallRuntime(Runtime::kGetPropertyNamesFast); |
+ __ CallRuntime(Runtime::kForInEnumerate); |
PrepareForBailoutForId(stmt->EnumId(), TOS_REG); |
// If we got a map from the runtime call, we can do a fast |