Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 352e0abf7ba220ed53c56f10133656061b69c691..8b4cc2ca348095817b5b3876682fd5aa438bc66d 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1997,7 +1997,7 @@ void Interpreter::DoForInNext(InterpreterAssembler* assembler) { |
CodeStubAssembler::SMI_PARAMETERS); |
// Check if we can use the for-in fast path potentially using the enum cache. |
- Label if_fast(assembler), if_slow(assembler, Label::kDeferred); |
+ Label if_fast(assembler), if_slow(assembler); |
Node* receiver_map = __ LoadObjectField(receiver, HeapObject::kMapOffset); |
__ BranchIfWordEqual(receiver_map, cache_type, &if_fast, &if_slow); |
__ Bind(&if_fast); |
@@ -2018,8 +2018,7 @@ void Interpreter::DoForInNext(InterpreterAssembler* assembler) { |
// Need to filter the {key} for the {receiver}. |
Node* context = __ GetContext(); |
- Callable callable = CodeFactory::ForInFilter(assembler->isolate()); |
- Node* result = __ CallStub(callable, context, key, receiver); |
+ Node* result = ForInFilterStub::Generate(assembler, key, receiver, context); |
__ SetAccumulator(result); |
__ Dispatch(); |
} |