Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index cdea1dce27d1498f9a44ac9bea1d51c9e6f3c2f1..96aa3e19fc1d1b0b8676da994533ad6154630048 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -1216,17 +1216,10 @@ void LCodeGen::DoJSArrayLength(LJSArrayLength* instr) { |
} |
-void LCodeGen::DoFixedArrayLength(LFixedArrayLength* instr) { |
+void LCodeGen::DoFixedArrayBaseLength(LFixedArrayBaseLength* instr) { |
Register result = ToRegister(instr->result()); |
Register array = ToRegister(instr->InputAt(0)); |
- __ movq(result, FieldOperand(array, FixedArray::kLengthOffset)); |
-} |
- |
- |
-void LCodeGen::DoExternalArrayLength(LExternalArrayLength* instr) { |
- Register result = ToRegister(instr->result()); |
- Register array = ToRegister(instr->InputAt(0)); |
- __ movl(result, FieldOperand(array, ExternalPixelArray::kLengthOffset)); |
+ __ movq(result, FieldOperand(array, FixedArrayBase::kLengthOffset)); |
} |