Index: src/x64/code-stubs-x64.h |
diff --git a/src/x64/code-stubs-x64.h b/src/x64/code-stubs-x64.h |
index 8c8ab691ac9305402f21fef2489f7076a1ed9a95..773b3d561a235bf7837a9354f78710414348fe0a 100644 |
--- a/src/x64/code-stubs-x64.h |
+++ b/src/x64/code-stubs-x64.h |
@@ -38,8 +38,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); |
@@ -86,7 +86,7 @@ class StringHelper : public AllStatic { |
class SubStringStub: public PlatformCodeStub { |
public: |
- SubStringStub() {} |
+ explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
private: |
Major MajorKey() { return SubString; } |
@@ -98,7 +98,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 rax. |
static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
@@ -137,11 +137,16 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
public: |
enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
- NameDictionaryLookupStub(Register dictionary, |
+ NameDictionaryLookupStub(Isolate* isolate, |
+ Register dictionary, |
Register result, |
Register index, |
LookupMode mode) |
- : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } |
+ : PlatformCodeStub(isolate), |
+ dictionary_(dictionary), |
+ result_(result), |
+ index_(index), |
+ mode_(mode) { } |
void Generate(MacroAssembler* masm); |
@@ -197,12 +202,14 @@ class NameDictionaryLookupStub: public PlatformCodeStub { |
class RecordWriteStub: public PlatformCodeStub { |
public: |
- 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), |