1 // Copyright 2018 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef V8_BUILTINS_BUILTINS_COLLECTIONS_GEN_H_ 6 #define V8_BUILTINS_BUILTINS_COLLECTIONS_GEN_H_ 7 8 #include "src/codegen/code-stub-assembler.h" 9 10 namespace v8 { 11 namespace internal { 12 13 void BranchIfIterableWithOriginalKeyOrValueMapIterator( 14 compiler::CodeAssemblerState* state, TNode<Object> iterable, 15 TNode<Context> context, compiler::CodeAssemblerLabel* if_true, 16 compiler::CodeAssemblerLabel* if_false); 17 18 void BranchIfIterableWithOriginalValueSetIterator( 19 compiler::CodeAssemblerState* state, TNode<Object> iterable, 20 TNode<Context> context, compiler::CodeAssemblerLabel* if_true, 21 compiler::CodeAssemblerLabel* if_false); 22 23 } // namespace internal 24 } // namespace v8 25 26 #endif // V8_BUILTINS_BUILTINS_COLLECTIONS_GEN_H_ 27