| Index: src/ia32/lithium-ia32.h
|
| ===================================================================
|
| --- src/ia32/lithium-ia32.h (revision 11854)
|
| +++ src/ia32/lithium-ia32.h (working copy)
|
| @@ -845,17 +845,19 @@
|
| };
|
|
|
|
|
| -class LBoundsCheck: public LTemplateInstruction<0, 2, 0> {
|
| +class LBoundsCheck: public LTemplateInstruction<0, 2, 1> {
|
| public:
|
| - LBoundsCheck(LOperand* index, LOperand* length) {
|
| + LBoundsCheck(LOperand* index, LOperand* length, LOperand* temp) {
|
| inputs_[0] = index;
|
| inputs_[1] = length;
|
| + temps_[0] = temp;
|
| }
|
|
|
| LOperand* index() { return inputs_[0]; }
|
| LOperand* length() { return inputs_[1]; }
|
|
|
| DECLARE_CONCRETE_INSTRUCTION(BoundsCheck, "bounds-check")
|
| + DECLARE_HYDROGEN_ACCESSOR(BoundsCheck)
|
| };
|
|
|
|
|
|
|