| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index b4d26694a253a8c1c4de95a3228d445f4ab7cf84..762cc89d5fcffb22b8f90bf2869af77be7768ec8 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -3143,6 +3143,8 @@ class HPhi: public HValue {
|
| return true;
|
| }
|
|
|
| + void SimplifyConstantInputs();
|
| +
|
| protected:
|
| virtual void DeleteFromGraph();
|
| virtual void InternalSetOperandAt(int index, HValue* value) {
|
| @@ -3444,10 +3446,9 @@ class HBinaryOperation: public HTemplateInstruction<3> {
|
| return right();
|
| }
|
|
|
| - void set_observed_input_representation(Representation left,
|
| - Representation right) {
|
| - observed_input_representation_[0] = left;
|
| - observed_input_representation_[1] = right;
|
| + void set_observed_input_representation(int index, Representation rep) {
|
| + ASSERT(index >= 1 && index <= 2);
|
| + observed_input_representation_[index - 1] = rep;
|
| }
|
|
|
| virtual void initialize_output_representation(Representation observed) {
|
|
|