summaryrefslogtreecommitdiff
path: root/compiler/utils/arm/assembler_thumb2.h
diff options
context:
space:
mode:
author Guang Zhu <guangzhu@google.com> 2016-04-24 05:17:17 +0000
committer Guang Zhu <guangzhu@google.com> 2016-04-24 05:17:17 +0000
commitd89e2418f2c6d9897fee219f8df9c20ca93c80db (patch)
tree86cc7ff6e15d316be62f9621d4f34e1ebc1eb07f /compiler/utils/arm/assembler_thumb2.h
parent1f2ce44db2613a1e60a66c3c454834b72e994f57 (diff)
Revert "Thumb2: Reduce memory used for fixup dependencies."
Bug: 28343425 This reverts commit 1f2ce44db2613a1e60a66c3c454834b72e994f57. Change-Id: I39edb37fb6fa4e84ac3fd0e11650fbb92d05ffcb
Diffstat (limited to 'compiler/utils/arm/assembler_thumb2.h')
-rw-r--r--compiler/utils/arm/assembler_thumb2.h14
1 files changed, 0 insertions, 14 deletions
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_;
}