Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 8b4cc2ca348095817b5b3876682fd5aa438bc66d..352e0abf7ba220ed53c56f10133656061b69c691 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1997,7 +1997,7 @@ |
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 if_fast(assembler), if_slow(assembler, Label::kDeferred); |
Node* receiver_map = __ LoadObjectField(receiver, HeapObject::kMapOffset); |
__ BranchIfWordEqual(receiver_map, cache_type, &if_fast, &if_slow); |
__ Bind(&if_fast); |
@@ -2018,7 +2018,8 @@ |
// Need to filter the {key} for the {receiver}. |
Node* context = __ GetContext(); |
- Node* result = ForInFilterStub::Generate(assembler, key, receiver, context); |
+ Callable callable = CodeFactory::ForInFilter(assembler->isolate()); |
+ Node* result = __ CallStub(callable, context, key, receiver); |
__ SetAccumulator(result); |
__ Dispatch(); |
} |