Index: src/arm64/code-stubs-arm64.h |
diff --git a/src/arm64/code-stubs-arm64.h b/src/arm64/code-stubs-arm64.h |
index f290a088ce03d07f29f087973d54b9f7047cf4d1..73624779aeddb81b9d4d0e61f522c4b6f39a0d90 100644 |
--- a/src/arm64/code-stubs-arm64.h |
+++ b/src/arm64/code-stubs-arm64.h |
@@ -39,8 +39,8 @@ void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); |
class StoreBufferOverflowStub: public PlatformCodeStub { |
public: |
- explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
- : save_doubles_(save_fp) { } |
+ StoreBufferOverflowStub(Isolate* isolate, SaveFPRegsMode save_fp) |
+ : PlatformCodeStub(isolate), save_doubles_(save_fp) { } |
void Generate(MacroAssembler* masm); |
@@ -79,8 +79,8 @@ class StringHelper : public AllStatic { |
class StoreRegistersStateStub: public PlatformCodeStub { |
public: |
- explicit StoreRegistersStateStub(SaveFPRegsMode with_fp) |
- : save_doubles_(with_fp) {} |
+ StoreRegistersStateStub(Isolate* isolate, SaveFPRegsMode with_fp) |
+ : PlatformCodeStub(isolate), save_doubles_(with_fp) {} |
static Register to_be_pushed_lr() { return ip0; } |
static void GenerateAheadOfTime(Isolate* isolate); |
@@ -95,8 +95,8 @@ class StoreRegistersStateStub: public PlatformCodeStub { |
class RestoreRegistersStateStub: public PlatformCodeStub { |
public: |
- explicit RestoreRegistersStateStub(SaveFPRegsMode with_fp) |
- : save_doubles_(with_fp) {} |
+ RestoreRegistersStateStub(Isolate* isolate, SaveFPRegsMode with_fp) |
+ : PlatformCodeStub(isolate), save_doubles_(with_fp) {} |
static void GenerateAheadOfTime(Isolate* isolate); |
private: |
@@ -113,12 +113,14 @@ class RecordWriteStub: public PlatformCodeStub { |
// Stub to record the write of 'value' at 'address' in 'object'. |
// Typically 'address' = 'object' + <some offset>. |
// See MacroAssembler::RecordWriteField() for example. |
- RecordWriteStub(Register object, |
+ RecordWriteStub(Isolate* isolate, |
+ Register object, |
Register value, |
Register address, |
RememberedSetAction remembered_set_action, |
SaveFPRegsMode fp_mode) |
- : object_(object), |
+ : PlatformCodeStub(isolate), |
+ object_(object), |
value_(value), |
address_(address), |
remembered_set_action_(remembered_set_action), |
@@ -370,7 +372,7 @@ class RecordWriteStub: public PlatformCodeStub { |
// the exit frame before doing the call with GenerateCall. |
class DirectCEntryStub: public PlatformCodeStub { |
public: |
- DirectCEntryStub() {} |
+ explicit DirectCEntryStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
void Generate(MacroAssembler* masm); |
void GenerateCall(MacroAssembler* masm, Register target); |
@@ -386,7 +388,8 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
public: |
enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
- explicit NameDictionaryLookupStub(LookupMode mode) : mode_(mode) { } |
+ NameDictionaryLookupStub(Isolate* isolate, LookupMode mode) |
+ : PlatformCodeStub(isolate), mode_(mode) { } |
void Generate(MacroAssembler* masm); |
@@ -434,7 +437,7 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
class SubStringStub: public PlatformCodeStub { |
public: |
- SubStringStub() {} |
+ explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
private: |
Major MajorKey() { return SubString; } |
@@ -446,7 +449,7 @@ class SubStringStub: public PlatformCodeStub { |
class StringCompareStub: public PlatformCodeStub { |
public: |
- StringCompareStub() { } |
+ explicit StringCompareStub(Isolate* isolate) : PlatformCodeStub(isolate) { } |
// Compares two flat ASCII strings and returns result in x0. |
static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |