Chromium Code Reviews| Index: src/interpreter/interpreter.cc |
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
| index 6434bc10fd77806fa71d12fcc40cdddccb969360..337d9f2807093164e9bccbfa5eefd89576d3d4cb 100644 |
| --- a/src/interpreter/interpreter.cc |
| +++ b/src/interpreter/interpreter.cc |
| @@ -1589,6 +1589,14 @@ void Interpreter::DoDeletePropertySloppy(InterpreterAssembler* assembler) { |
| DoDelete(Runtime::kDeleteProperty_Sloppy, assembler); |
| } |
| +void Interpreter::DoGetSuperConstructor(InterpreterAssembler* assembler) { |
|
rmcilroy
2016/11/23 21:55:37
Please add a comment like those above other byteco
|
| + Node* active_function = __ GetAccumulator(); |
| + Node* context = __ GetContext(); |
| + Node* result = assembler->GetSuperConstructor(active_function, context); |
| + __ SetAccumulator(result); |
| + __ Dispatch(); |
| +} |
| + |
| void Interpreter::DoJSCall(InterpreterAssembler* assembler, |
| TailCallMode tail_call_mode) { |
| Node* function_reg = __ BytecodeOperandReg(0); |