Index: src/arm/virtual-frame-arm.cc |
=================================================================== |
--- src/arm/virtual-frame-arm.cc (revision 4459) |
+++ src/arm/virtual-frame-arm.cc (working copy) |
@@ -299,6 +299,20 @@ |
} |
+void VirtualFrame::CallLoadIC(RelocInfo::Mode mode, bool load_inlined) { |
+ // If a nop is generated later make sure the it follows the call directly. |
+ Assembler::BlockConstPoolScope block_const_pool(masm()); |
+ |
+ Handle<Code> ic(Builtins::builtin(Builtins::LoadIC_Initialize)); |
+ CallCodeObject(ic, mode, 0); |
+ if (!load_inlined) { |
+ // A B instruction following the call signals that the load was inlined. |
+ // Ensure that there is not a B instruction here. |
+ __ nop(); |
+ } |
+} |
+ |
+ |
void VirtualFrame::CallCodeObject(Handle<Code> code, |
RelocInfo::Mode rmode, |
int dropped_args) { |