Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 485abdaf6fe43c8a00ae49c5d31be984b2d8f23c..435e9f2df69ecf2945023652148189e9737e2327 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -1190,9 +1190,9 @@ void FullCodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
// just skip it. |
__ push(ecx); // Enumerable. |
__ push(ebx); // Current entry. |
- __ InvokeBuiltin(Builtins::FILTER_KEY, CALL_FUNCTION); |
+ __ CallRuntime(Runtime::kForInFilter, 2); |
PrepareForBailoutForId(stmt->FilterId(), TOS_REG); |
- __ test(eax, eax); |
+ __ cmp(eax, isolate()->factory()->undefined_value()); |
__ j(equal, loop_statement.continue_label()); |
__ mov(ebx, eax); |