Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index 67225af9ec20c26db060d24376b47364abaf870b..3f96060ea9f2acf2d79deacc088eafdfba755c31 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -1697,6 +1697,17 @@ void Interpreter::DoDeletePropertySloppy(InterpreterAssembler* assembler) { |
DoDelete(Runtime::kDeleteProperty_Sloppy, assembler); |
} |
+// GetSuperConstructor |
+// |
+// Get the super constructor from the object referenced by the accumulator. |
+void Interpreter::DoGetSuperConstructor(InterpreterAssembler* assembler) { |
+ Node* active_function = __ GetAccumulator(); |
+ Node* context = __ GetContext(); |
+ Node* result = __ GetSuperConstructor(active_function, context); |
+ __ StoreRegister(result, __ BytecodeOperandReg(0)); |
+ __ Dispatch(); |
+} |
+ |
void Interpreter::DoJSCall(InterpreterAssembler* assembler, |
TailCallMode tail_call_mode) { |
Node* function_reg = __ BytecodeOperandReg(0); |