| Index: src/x64/lithium-x64.cc
|
| ===================================================================
|
| --- src/x64/lithium-x64.cc (revision 8219)
|
| +++ src/x64/lithium-x64.cc (working copy)
|
| @@ -1626,8 +1626,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));
|
| }
|
|
|
|
|
|
|