Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index ef78802bef0fb33da7c90da330690868e4cd32c3..5e5ef7b8d44d9ffe8491406e0b8f93acc690e4f8 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.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); |
@@ -91,7 +91,7 @@ class StringHelper : public AllStatic { |
class SubStringStub: public PlatformCodeStub { |
public: |
- SubStringStub() {} |
+ explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
private: |
Major MajorKey() { return SubString; } |
@@ -104,7 +104,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 r0. |
static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
@@ -144,10 +144,12 @@ class StringCompareStub: public PlatformCodeStub { |
// so you don't have to set up the frame. |
class WriteInt32ToHeapNumberStub : public PlatformCodeStub { |
public: |
- WriteInt32ToHeapNumberStub(Register the_int, |
+ WriteInt32ToHeapNumberStub(Isolate* isolate, |
+ Register the_int, |
Register the_heap_number, |
Register scratch) |
- : the_int_(the_int), |
+ : PlatformCodeStub(isolate), |
+ the_int_(the_int), |
the_heap_number_(the_heap_number), |
scratch_(scratch) { } |
@@ -177,12 +179,14 @@ class WriteInt32ToHeapNumberStub : 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), |
@@ -363,7 +367,7 @@ class RecordWriteStub: public PlatformCodeStub { |
// moved by GC |
class DirectCEntryStub: public PlatformCodeStub { |
public: |
- DirectCEntryStub() {} |
+ explicit DirectCEntryStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
void Generate(MacroAssembler* masm); |
void GenerateCall(MacroAssembler* masm, Register target); |
@@ -379,7 +383,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); |