Index: src/arm64/code-stubs-arm64.h |
diff --git a/src/arm64/code-stubs-arm64.h b/src/arm64/code-stubs-arm64.h |
index a21f315a09bb3e0bb29fe96f08bcbc888ca6e378..8548ea522923d957b06d00c440bd4f85c191be2c 100644 |
--- a/src/arm64/code-stubs-arm64.h |
+++ b/src/arm64/code-stubs-arm64.h |
@@ -56,15 +56,14 @@ class StringHelper : public AllStatic { |
class StoreRegistersStateStub: public PlatformCodeStub { |
public: |
- StoreRegistersStateStub(Isolate* isolate, SaveFPRegsMode with_fp) |
- : PlatformCodeStub(isolate), save_doubles_(with_fp) {} |
+ explicit StoreRegistersStateStub(Isolate* isolate) |
+ : PlatformCodeStub(isolate) {} |
static Register to_be_pushed_lr() { return ip0; } |
static void GenerateAheadOfTime(Isolate* isolate); |
private: |
Major MajorKey() const { return StoreRegistersState; } |
- int MinorKey() const { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
- SaveFPRegsMode save_doubles_; |
+ int MinorKey() const { return 0; } |
void Generate(MacroAssembler* masm); |
}; |
@@ -72,14 +71,13 @@ class StoreRegistersStateStub: public PlatformCodeStub { |
class RestoreRegistersStateStub: public PlatformCodeStub { |
public: |
- RestoreRegistersStateStub(Isolate* isolate, SaveFPRegsMode with_fp) |
- : PlatformCodeStub(isolate), save_doubles_(with_fp) {} |
+ explicit RestoreRegistersStateStub(Isolate* isolate) |
+ : PlatformCodeStub(isolate) {} |
static void GenerateAheadOfTime(Isolate* isolate); |
private: |
Major MajorKey() const { return RestoreRegistersState; } |
- int MinorKey() const { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
- SaveFPRegsMode save_doubles_; |
+ int MinorKey() const { return 0; } |
void Generate(MacroAssembler* masm); |
}; |