| Index: src/arm/builtins-arm.cc
|
| diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc
|
| index 9cca536bfeded8a73845855a71680e3caa25dedc..f401cfd607f5edb9445e8bd7b5195f86f6bac0ea 100644
|
| --- a/src/arm/builtins-arm.cc
|
| +++ b/src/arm/builtins-arm.cc
|
| @@ -1173,11 +1173,9 @@ void Builtins::Generate_NotifyOSR(MacroAssembler* masm) {
|
|
|
|
|
| void Builtins::Generate_OnStackReplacement(MacroAssembler* masm) {
|
| - CpuFeatures::TryForceFeatureScope scope(VFP3);
|
| - if (!CpuFeatures::IsSupported(VFP3)) {
|
| - __ Abort("Unreachable code: Cannot optimize without VFP3 support.");
|
| - return;
|
| - }
|
| + // Probe the CPU to set the supported features, because this builtin
|
| + // may be called before the initialization performs CPU setup.
|
| + masm->isolate()->cpu_features()->Probe(false);
|
|
|
| // Lookup the function in the JavaScript frame and push it as an
|
| // argument to the on-stack replacement function.
|
|
|