Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 700ccfe5e751de9ad4a5adb664baed98305b82ad..573ca702d62437181c6173c4af6cce4a2dd827a2 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1197,9 +1197,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); |