| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index 30a7aab4d0997367d0e27dffcb593b9683be2a4a..a6e9317e0f03e2d8a3175314f1b258d77be8bae4 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -537,25 +537,6 @@
|
| }
|
|
|
|
|
| -// New <constructor> <arg_count>
|
| -//
|
| -// Call operator new with |constructor| and the first argument in
|
| -// register |first_arg| and |arg_count| arguments in subsequent
|
| -//
|
| -void Interpreter::DoNew(compiler::InterpreterAssembler* assembler) {
|
| - Callable ic = CodeFactory::InterpreterPushArgsAndConstruct(isolate_);
|
| - Node* constructor_index = __ BytecodeOperandReg8(0);
|
| - Node* constructor = __ LoadRegister(constructor_index);
|
| - Node* first_arg_reg = __ BytecodeOperandReg8(1);
|
| - Node* first_arg = __ RegisterLocation(first_arg_reg);
|
| - Node* args_count = __ BytecodeOperandCount8(2);
|
| - Node* result =
|
| - __ CallConstruct(constructor, constructor, first_arg, args_count);
|
| - __ SetAccumulator(result);
|
| - __ Dispatch();
|
| -}
|
| -
|
| -
|
| // TestEqual <src>
|
| //
|
| // Test if the value in the <src> register equals the accumulator.
|
|
|