Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 09942e7741b5982f8dd8c550c41e2f5247f65c61..404cdb59ddbf6f8955d680d06faaf2b2653dd203 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -1233,6 +1233,10 @@ class V8_EXPORT_PRIVATE CodeStubAssembler : public compiler::CodeAssembler { |
Label* if_end, Label* if_bailout); |
// Instanceof helpers. |
+ // Returns true if {object} has {prototype} somewhere in it's prototype |
+ // chain, otherwise false is returned. Might cause arbitrary side effects |
+ // due to [[GetPrototypeOf]] invocations. |
+ Node* HasInPrototypeChain(Node* context, Node* object, Node* prototype); |
// ES6 section 7.3.19 OrdinaryHasInstance (C, O) |
Node* OrdinaryHasInstance(Node* context, Node* callable, Node* object); |