Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 76114cc1d43d0e8ab188843b901c7453cb3f2cf1..94f73298092fcad7853b93cedd51a22bed694a83 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -258,6 +258,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); |