Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 4c6dea96f75e89fdb94724f97d3d82a4384981da..7d9af7c051628c02b7965cf499f92ff96402f692 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -411,16 +411,6 @@ void MacroAssembler::Store(Register src, |
void MacroAssembler::LoadRoot(Register destination, |
Heap::RootListIndex index, |
Condition cond) { |
- if (CpuFeatures::IsSupported(MOVW_MOVT_IMMEDIATE_LOADS) && |
- isolate()->heap()->RootCanBeTreatedAsConstant(index) && |
- !predictable_code_size()) { |
- CpuFeatureScope scope(this, MOVW_MOVT_IMMEDIATE_LOADS); |
- // The CPU supports fast immediate values, and this root will never |
- // change. We will load it as a relocatable immediate value. |
- Handle<Object> root = isolate()->heap()->root_handle(index); |
- mov(destination, Operand(root), LeaveCC, cond); |
- return; |
- } |
ldr(destination, MemOperand(kRootRegister, index << kPointerSizeLog2), cond); |
} |