| Index: src/compiler/bytecode-graph-builder.h
|
| diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h
|
| index 266bfb4a5a873ac2aa911b5e46a347adeb01c743..2f3acc1bcad95aaea3ede0283c90a573bbeaacce 100644
|
| --- a/src/compiler/bytecode-graph-builder.h
|
| +++ b/src/compiler/bytecode-graph-builder.h
|
| @@ -137,11 +137,7 @@ class BytecodeGraphBuilder {
|
|
|
| // Helper function to create binary operation hint from the recorded
|
| // type feedback.
|
| - BinaryOperationHint GetBinaryOperationHint();
|
| -
|
| - // Helper function to create an binary operation hint from the recorded
|
| - // type feedback in Inc/Dec handlers.
|
| - BinaryOperationHint GetBinaryOperationHintForIncDec();
|
| + BinaryOperationHint GetBinaryOperationHint(int operand_index);
|
|
|
| // Control flow plumbing.
|
| void BuildJump();
|
| @@ -262,6 +258,10 @@ class BytecodeGraphBuilder {
|
| // Control nodes that exit the function body.
|
| ZoneVector<Node*> exit_controls_;
|
|
|
| + static int const kBinaryOperationHintIndex = 1;
|
| + static int const kCountOperationHintIndex = 0;
|
| + static int const kBinaryOperationSmiHintIndex = 2;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder);
|
| };
|
|
|
|
|