Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 669d83a503e194928368d360d6b39b616a7ed358..4e135d66b5379bc1c44e996046ac7e83358775e1 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -1378,17 +1378,10 @@ void LCodeGen::DoJSArrayLength(LJSArrayLength* instr) { |
} |
-void LCodeGen::DoExternalArrayLength(LExternalArrayLength* instr) { |
+void LCodeGen::DoFixedArrayBaseLength(LFixedArrayBaseLength* instr) { |
Register result = ToRegister(instr->result()); |
Register array = ToRegister(instr->InputAt(0)); |
- __ ldr(result, FieldMemOperand(array, ExternalArray::kLengthOffset)); |
-} |
- |
- |
-void LCodeGen::DoFixedArrayLength(LFixedArrayLength* instr) { |
- Register result = ToRegister(instr->result()); |
- Register array = ToRegister(instr->InputAt(0)); |
- __ ldr(result, FieldMemOperand(array, FixedArray::kLengthOffset)); |
+ __ ldr(result, FieldMemOperand(array, FixedArrayBase::kLengthOffset)); |
} |