| Index: src/ia32/lithium-ia32.cc
|
| ===================================================================
|
| --- src/ia32/lithium-ia32.cc (revision 8219)
|
| +++ src/ia32/lithium-ia32.cc (working copy)
|
| @@ -1655,8 +1655,9 @@
|
|
|
|
|
| LInstruction* LChunkBuilder::DoBoundsCheck(HBoundsCheck* instr) {
|
| - return AssignEnvironment(new LBoundsCheck(UseRegisterAtStart(instr->index()),
|
| - Use(instr->length())));
|
| + LBoundsCheck* result = new LBoundsCheck(UseRegisterAtStart(instr->index()),
|
| + Use(instr->length()));
|
| + return AssignEnvironment(DefineSameAsFirst(result));
|
| }
|
|
|
|
|
|
|