Index: src/builtins/builtins-iterator-gen.cc |
diff --git a/src/builtins/builtins-iterator-gen.cc b/src/builtins/builtins-iterator-gen.cc |
index fd3dcb658a7743d634976ae5f72f68bc4cf127cc..3a8732948362c858587ab41d1111cd05455df374 100644 |
--- a/src/builtins/builtins-iterator-gen.cc |
+++ b/src/builtins/builtins-iterator-gen.cc |
@@ -77,7 +77,7 @@ Node* IteratorBuiltinsAssembler::IteratorStep(Node* context, Node* iterator, |
Branch(IsBoolean(done), &return_result, &to_boolean); |
BIND(&to_boolean); |
- var_done.Bind(CallStub(CodeFactory::ToBoolean(isolate()), context, done)); |
+ var_done.Bind(CallBuiltin(Builtins::kToBoolean, context, done)); |
Goto(&return_result); |
} |