Index: src/x64/code-stubs-x64.h |
diff --git a/src/x64/code-stubs-x64.h b/src/x64/code-stubs-x64.h |
index 71cef58434fb361a4f206faa816abf31221fbda2..ab8ea76c8f617893c4292ad0c07ed81961665021 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 PlatformCodeStub { |
+class TranscendentalCacheStub: public CodeStub { |
public: |
enum ArgumentType { |
TAGGED = 0, |
@@ -60,7 +60,7 @@ class TranscendentalCacheStub: public PlatformCodeStub { |
}; |
-class StoreBufferOverflowStub: public PlatformCodeStub { |
+class StoreBufferOverflowStub: public CodeStub { |
public: |
explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
: save_doubles_(save_fp) { } |
@@ -79,7 +79,7 @@ class StoreBufferOverflowStub: public PlatformCodeStub { |
}; |
-class UnaryOpStub: public PlatformCodeStub { |
+class UnaryOpStub: public CodeStub { |
public: |
UnaryOpStub(Token::Value op, |
UnaryOverwriteMode mode, |
@@ -216,7 +216,7 @@ enum StringAddFlags { |
}; |
-class StringAddStub: public PlatformCodeStub { |
+class StringAddStub: public CodeStub { |
public: |
explicit StringAddStub(StringAddFlags flags) : flags_(flags) {} |
@@ -238,7 +238,7 @@ class StringAddStub: public PlatformCodeStub { |
}; |
-class SubStringStub: public PlatformCodeStub { |
+class SubStringStub: public CodeStub { |
public: |
SubStringStub() {} |
@@ -250,7 +250,7 @@ class SubStringStub: public PlatformCodeStub { |
}; |
-class StringCompareStub: public PlatformCodeStub { |
+class StringCompareStub: public CodeStub { |
public: |
StringCompareStub() {} |
@@ -287,7 +287,7 @@ class StringCompareStub: public PlatformCodeStub { |
}; |
-class NumberToStringStub: public PlatformCodeStub { |
+class NumberToStringStub: public CodeStub { |
public: |
NumberToStringStub() { } |
@@ -316,7 +316,7 @@ class NumberToStringStub: public PlatformCodeStub { |
}; |
-class StringDictionaryLookupStub: public PlatformCodeStub { |
+class StringDictionaryLookupStub: public CodeStub { |
public: |
enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
@@ -378,7 +378,7 @@ class StringDictionaryLookupStub: public PlatformCodeStub { |
}; |
-class RecordWriteStub: public PlatformCodeStub { |
+class RecordWriteStub: public CodeStub { |
public: |
RecordWriteStub(Register object, |
Register value, |
@@ -561,7 +561,7 @@ class RecordWriteStub: public PlatformCodeStub { |
Register GetRegThatIsNotRcxOr(Register r1, |
Register r2, |
Register r3) { |
- for (int i = 0; i < Register::NumAllocatableRegisters(); i++) { |
+ for (int i = 0; i < Register::kNumAllocatableRegisters; i++) { |
Register candidate = Register::FromAllocationIndex(i); |
if (candidate.is(rcx)) continue; |
if (candidate.is(r1)) continue; |