Chromium Code Reviews| Index: src/hydrogen-instructions.h |
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
| index 80773bf14789e8524dc4c46184588641d6396495..cac1ea5f43989bc606dd4ec809dc61386c570a6d 100644 |
| --- a/src/hydrogen-instructions.h |
| +++ b/src/hydrogen-instructions.h |
| @@ -1576,6 +1576,9 @@ class HForceRepresentation V8_FINAL : public HTemplateInstruction<1> { |
| DECLARE_CONCRETE_INSTRUCTION(ForceRepresentation) |
| + protected: |
| + virtual int RedefinedOperandIndex() { return 0; } |
|
Toon Verwaest
2013/11/11 13:59:28
Why is this needed? HForceRepresentation is explic
mvstanton
2013/11/13 14:12:52
It's done so we can make optimizations based on se
|
| + |
| private: |
| HForceRepresentation(HValue* value, Representation required_representation) { |
| SetOperandAt(0, value); |