Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index f53f293cef7d78ba377e722eb05f11c9aae691a4..f23cb442312af414d3e35cc9ba51c96010da8742 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -155,9 +155,7 @@ void Builtins::Generate_ArrayCode(MacroAssembler* masm) { |
// Run the native code for the Array function called as a normal function. |
// tail call a stub |
- Handle<Object> megamorphic_sentinel = |
- TypeFeedbackInfo::MegamorphicSentinel(masm->isolate()); |
- __ mov(r2, Operand(megamorphic_sentinel)); |
+ __ LoadRoot(r2, Heap::kUndefinedValueRootIndex); |
ArrayConstructorStub stub(masm->isolate()); |
__ TailCallStub(&stub); |
} |
@@ -737,9 +735,7 @@ static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, |
__ mov(r0, Operand(r3)); |
if (is_construct) { |
// No type feedback cell is available |
- Handle<Object> megamorphic_sentinel = |
- TypeFeedbackInfo::MegamorphicSentinel(masm->isolate()); |
- __ mov(r2, Operand(megamorphic_sentinel)); |
+ __ LoadRoot(r2, Heap::kUndefinedValueRootIndex); |
CallConstructStub stub(NO_CALL_FUNCTION_FLAGS); |
__ CallStub(&stub); |
} else { |