Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 280bb0460acaad6c1d84d3e70595c346883dd28c..bdf7d4039a7bd85dfd68dfba38e347c3f96b812f 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); |