From d89e2418f2c6d9897fee219f8df9c20ca93c80db Mon Sep 17 00:00:00 2001 From: Guang Zhu Date: Sun, 24 Apr 2016 05:17:17 +0000 Subject: Revert "Thumb2: Reduce memory used for fixup dependencies." Bug: 28343425 This reverts commit 1f2ce44db2613a1e60a66c3c454834b72e994f57. Change-Id: I39edb37fb6fa4e84ac3fd0e11650fbb92d05ffcb --- compiler/utils/arm/assembler_thumb2.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'compiler/utils/arm/assembler_thumb2.h') diff --git a/compiler/utils/arm/assembler_thumb2.h b/compiler/utils/arm/assembler_thumb2.h index bc5b708e88..111a6b09d7 100644 --- a/compiler/utils/arm/assembler_thumb2.h +++ b/compiler/utils/arm/assembler_thumb2.h @@ -538,20 +538,6 @@ class Thumb2Assembler FINAL : public ArmAssembler { return GetType() >= kLoadLiteralNarrow; } - // Returns whether the Fixup can expand from the original size. - bool CanExpand() const { - switch (GetOriginalSize()) { - case kBranch32Bit: - case kCbxz48Bit: - case kLiteralFar: - case kLiteralAddrFar: - case kLongOrFPLiteralFar: - return false; - default: - return true; - } - } - Size GetOriginalSize() const { return original_size_; } -- cgit v1.2.3-59-g8ed1b