Chromium Code Reviews| Index: src/interpreter/bytecode-array-builder.cc | 
| diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc | 
| index 5476a475f214c51d72dd88875a4badc0a632a2ac..6f6439ae1bc56c44f8b36b6f0de06c6ac122a4f3 100644 | 
| --- a/src/interpreter/bytecode-array-builder.cc | 
| +++ b/src/interpreter/bytecode-array-builder.cc | 
| @@ -528,6 +528,16 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::CallRuntime( | 
| } | 
| +BytecodeArrayBuilder& BytecodeArrayBuilder::New(Register constructor, | 
| 
 
rmcilroy
2015/10/13 14:07:30
nit - move above CallRuntime
 
oth
2015/10/14 08:40:09
Done.
 
 | 
| + Register first_arg, | 
| + size_t arg_count) { | 
| + DCHECK(FitsInIdx8Operand(arg_count)); | 
| + Output(Bytecode::kNew, constructor.ToOperand(), first_arg.ToOperand(), | 
| + static_cast<uint8_t>(arg_count)); | 
| + return *this; | 
| +} | 
| + | 
| + | 
| size_t BytecodeArrayBuilder::GetConstantPoolEntry(Handle<Object> object) { | 
| // These constants shouldn't be added to the constant pool, the should use | 
| // specialzed bytecodes instead. |