Index: runtime/vm/assembler_arm.h |
=================================================================== |
--- runtime/vm/assembler_arm.h (revision 38478) |
+++ runtime/vm/assembler_arm.h (working copy) |
@@ -250,6 +250,9 @@ |
static bool CanHoldStoreOffset(OperandSize size, |
int32_t offset, |
int32_t* offset_mask); |
+ static bool CanHoldImmediateOffset(bool is_load, |
+ intptr_t cid, |
+ int64_t offset); |
private: |
uint32_t encoding() const { return encoding_; } |
@@ -781,6 +784,21 @@ |
Register temp_reg, |
Heap::Space space = Heap::kNew); |
+ Address ElementAddressForIntIndex(bool is_load, |
+ bool is_external, |
+ intptr_t cid, |
+ intptr_t index_scale, |
+ Register array, |
+ intptr_t index, |
+ Register temp); |
+ |
+ Address ElementAddressForRegIndex(bool is_load, |
+ bool is_external, |
+ intptr_t cid, |
+ intptr_t index_scale, |
+ Register array, |
+ Register index); |
+ |
// Inlined allocation of an instance of class 'cls', code has no runtime |
// calls. Jump to 'failure' if the instance cannot be allocated here. |
// Allocated instance is returned in 'instance_reg'. |