Index: src/x64/code-stubs-x64.h |
diff --git a/src/x64/code-stubs-x64.h b/src/x64/code-stubs-x64.h |
index 6a1a18f830a6c78f6b024b1e65b897a121835e7e..8dd20d7bb0d17f2bcfcc41e26b48aba6cd885ab3 100644 |
--- a/src/x64/code-stubs-x64.h |
+++ b/src/x64/code-stubs-x64.h |
@@ -37,7 +37,7 @@ namespace internal { |
// Compute a transcendental math function natively, or call the |
// TranscendentalCache runtime function. |
-class TranscendentalCacheStub: public CodeStub { |
+class TranscendentalCacheStub: public PlatformCodeStub { |
public: |
enum ArgumentType { |
TAGGED = 0, |
@@ -60,7 +60,7 @@ class TranscendentalCacheStub: public CodeStub { |
}; |
-class StoreBufferOverflowStub: public CodeStub { |
+class StoreBufferOverflowStub: public PlatformCodeStub { |
public: |
explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
: save_doubles_(save_fp) { } |
@@ -86,7 +86,7 @@ enum GenericBinaryFlags { |
}; |
-class UnaryOpStub: public CodeStub { |
+class UnaryOpStub: public PlatformCodeStub { |
public: |
UnaryOpStub(Token::Value op, |
UnaryOverwriteMode mode, |
@@ -157,7 +157,7 @@ class UnaryOpStub: public CodeStub { |
}; |
-class BinaryOpStub: public CodeStub { |
+class BinaryOpStub: public PlatformCodeStub { |
public: |
BinaryOpStub(Token::Value op, OverwriteMode mode) |
: op_(op), |
@@ -312,7 +312,7 @@ enum StringAddFlags { |
}; |
-class StringAddStub: public CodeStub { |
+class StringAddStub: public PlatformCodeStub { |
public: |
explicit StringAddStub(StringAddFlags flags) : flags_(flags) {} |
@@ -334,7 +334,7 @@ class StringAddStub: public CodeStub { |
}; |
-class SubStringStub: public CodeStub { |
+class SubStringStub: public PlatformCodeStub { |
public: |
SubStringStub() {} |
@@ -346,7 +346,7 @@ class SubStringStub: public CodeStub { |
}; |
-class StringCompareStub: public CodeStub { |
+class StringCompareStub: public PlatformCodeStub { |
public: |
StringCompareStub() {} |
@@ -383,7 +383,7 @@ class StringCompareStub: public CodeStub { |
}; |
-class NumberToStringStub: public CodeStub { |
+class NumberToStringStub: public PlatformCodeStub { |
public: |
NumberToStringStub() { } |
@@ -412,7 +412,7 @@ class NumberToStringStub: public CodeStub { |
}; |
-class StringDictionaryLookupStub: public CodeStub { |
+class StringDictionaryLookupStub: public PlatformCodeStub { |
public: |
enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
@@ -474,7 +474,7 @@ class StringDictionaryLookupStub: public CodeStub { |
}; |
-class RecordWriteStub: public CodeStub { |
+class RecordWriteStub: public PlatformCodeStub { |
public: |
RecordWriteStub(Register object, |
Register value, |
@@ -657,7 +657,7 @@ class RecordWriteStub: public CodeStub { |
Register GetRegThatIsNotRcxOr(Register r1, |
Register r2, |
Register r3) { |
- for (int i = 0; i < Register::kNumAllocatableRegisters; i++) { |
+ for (int i = 0; i < Register::NumAllocatableRegisters(); i++) { |
Register candidate = Register::FromAllocationIndex(i); |
if (candidate.is(rcx)) continue; |
if (candidate.is(r1)) continue; |