Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 36de28ff19d93261ed00520d46329e9d004c4585..ad0dc68843ebc9f90703f286acb2e58b846f8f2e 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3607,7 +3607,7 @@ void LCodeGen::DoBoundsCheck(LBoundsCheck* instr) { |
if (instr->length()->IsRegister()) { |
Register reg = ToRegister(instr->length()); |
if (FLAG_debug_code && |
- !instr->hydrogen()->index()->representation().IsTagged()) { |
+ !instr->hydrogen()->length()->representation().IsTagged()) { |
__ AbortIfNotZeroExtended(reg); |
} |
if (instr->index()->IsConstantOperand()) { |