Chromium Code Reviews| Index: src/interpreter/bytecode-array-builder.h |
| diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
| index e5025a72f38f38210acd6358ae38d5c513aa4b09..172e04908fd90002fdadc441eabffa90a2393529 100644 |
| --- a/src/interpreter/bytecode-array-builder.h |
| +++ b/src/interpreter/bytecode-array-builder.h |
| @@ -88,7 +88,13 @@ class BytecodeArrayBuilder { |
| BytecodeArrayBuilder& CallRuntime(Runtime::FunctionId function_id, |
| Register first_arg, size_t arg_count); |
| - // Operators (register == lhs, accumulator = rhs). |
| + // Call the new operator. The |constructor| register is followed by |
| + // |arg_count| consecutive registers containing arguments to be |
| + // applied to the constructor. |
| + BytecodeArrayBuilder& New(Register constructor, Register first_arg, |
| + size_t arg_count); |
|
rmcilroy
2015/10/13 14:07:30
nit - move above CallRuntime
oth
2015/10/14 08:40:09
Done.
|
| + |
| + // Operators (register holds the lhs value, accumulator holds the rhs value). |
| BytecodeArrayBuilder& BinaryOperation(Token::Value binop, Register reg, |
| Strength strength); |