Index: runtime/vm/flow_graph_compiler_arm.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler_arm.cc (revision 36449) |
+++ runtime/vm/flow_graph_compiler_arm.cc (working copy) |
@@ -1534,22 +1534,20 @@ |
} |
-// Do not implement or use this function. |
-FieldAddress FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, |
- intptr_t index_scale, |
- Register array, |
- intptr_t index) { |
+Address FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, |
+ intptr_t index_scale, |
+ Register array, |
+ intptr_t index) { |
UNREACHABLE(); |
return FieldAddress(array, index); |
} |
-// Do not implement or use this function. |
-FieldAddress FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, |
- intptr_t index_scale, |
- Register array, |
- Register index) { |
- UNREACHABLE(); // No register indexed with offset addressing mode on ARM. |
+Address FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, |
+ intptr_t index_scale, |
+ Register array, |
+ Register index) { |
+ UNREACHABLE(); |
return FieldAddress(array, index); |
} |