Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index ddcc0a7e64334108a482f79a4ca0403cfd86e6df..2d4d8931029aee150fe131b688366437e25a990e 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -259,6 +259,11 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final |
BytecodeArrayBuilder& LogicalNot(); |
BytecodeArrayBuilder& TypeOf(); |
+ // Expects a heap object in the accumulator. Returns its super constructor in |
+ // the register |out| if it passes the IsConstructor test. Otherwise, it |
+ // throws a TypeError exception. |
+ BytecodeArrayBuilder& GetSuperConstructor(Register out); |
+ |
// Deletes property from an object. This expects that accumulator contains |
// the key to be deleted and the register contains a reference to the object. |
BytecodeArrayBuilder& Delete(Register object, LanguageMode language_mode); |