Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index 61ecc975fc1776c3bbea1a4263c074d0a4e675db..fe1fff6131a40eccb860b45a53ab0967c9cf08e3 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -61,11 +61,13 @@ class TranscendentalCacheStub: public PlatformCodeStub { |
class StoreBufferOverflowStub: public PlatformCodeStub { |
public: |
explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
- : save_doubles_(save_fp) { } |
+ : save_doubles_(save_fp) { |
+ ASSERT(CpuFeatures::IsSafeForSnapshot(VFP2) || save_fp == kDontSaveFPRegs); |
+ } |
void Generate(MacroAssembler* masm); |
- virtual bool IsPregenerated(); |
+ virtual bool IsPregenerated() { return true; } |
static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate); |
virtual bool SometimesSetsUpAFrame() { return false; } |