Index: src/mips/code-stubs-mips.h |
diff --git a/src/mips/code-stubs-mips.h b/src/mips/code-stubs-mips.h |
index 225accc51800376a85c2bc99ab79ed1dec47e52b..233ec8e9ac810c58b46d76e74b9d1d3d0b17a57e 100644 |
--- a/src/mips/code-stubs-mips.h |
+++ b/src/mips/code-stubs-mips.h |
@@ -62,11 +62,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(FPU) || 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; } |