Index: runtime/vm/instructions_arm64.cc |
diff --git a/runtime/vm/instructions_arm64.cc b/runtime/vm/instructions_arm64.cc |
index 9987527126276f79549da9d6573594c90c416d17..83de46e38bc535ffdca02fc102a8606cdea65f9f 100644 |
--- a/runtime/vm/instructions_arm64.cc |
+++ b/runtime/vm/instructions_arm64.cc |
@@ -16,10 +16,8 @@ namespace dart { |
CallPattern::CallPattern(uword pc, const Code& code) |
: object_pool_(ObjectPool::Handle(code.GetObjectPool())), |
end_(pc), |
- args_desc_load_end_(0), |
ic_data_load_end_(0), |
target_address_pool_index_(-1), |
- args_desc_(Array::Handle()), |
ic_data_(ICData::Handle()) { |
ASSERT(code.ContainsInstructionAt(pc)); |
// Last instruction: blr ip0. |
@@ -239,28 +237,13 @@ void InstructionPattern::EncodeLoadWordFromPoolFixed(uword end, |
RawICData* CallPattern::IcData() { |
if (ic_data_.IsNull()) { |
Register reg; |
- args_desc_load_end_ = |
- InstructionPattern::DecodeLoadObject(ic_data_load_end_, |
- object_pool_, |
- ®, |
- &ic_data_); |
- ASSERT(reg == R5); |
- } |
- return ic_data_.raw(); |
-} |
- |
- |
-RawArray* CallPattern::ClosureArgumentsDescriptor() { |
- if (args_desc_.IsNull()) { |
- IcData(); // Loading of the ic_data must be decoded first, if not already. |
- Register reg; |
- InstructionPattern::DecodeLoadObject(args_desc_load_end_, |
+ InstructionPattern::DecodeLoadObject(ic_data_load_end_, |
object_pool_, |
®, |
- &args_desc_); |
- ASSERT(reg == R4); |
+ &ic_data_); |
+ ASSERT(reg == R5); |
} |
- return args_desc_.raw(); |
+ return ic_data_.raw(); |
} |