Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 7a3c80f7b5797ef7337d12f0b7197dd6dea09711..89b87acd4e261739d54fe1e4a78ac3429748493d 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -3528,7 +3528,8 @@ MaybeObject* ExternalArrayStubCompiler::CompileKeyedLoadStub( |
__ Ret(); |
} else { |
WriteInt32ToHeapNumberStub stub(value, r0, r3); |
- __ TailCallStub(&stub); |
+ MaybeObject* stub_code = masm()->TryTailCallStub(&stub); |
+ if (stub_code->IsFailure()) return stub_code; |
} |
} else if (array_type == kExternalUnsignedIntArray) { |
// The test is different for unsigned int values. Since we need |