Index: src/ia32/code-stubs-ia32.h |
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h |
index 803a711de9694efeacc907db44d1f7342980d006..7fb3342da6370f940c0af7e6961fa8e23b967e53 100644 |
--- a/src/ia32/code-stubs-ia32.h |
+++ b/src/ia32/code-stubs-ia32.h |
@@ -38,7 +38,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, |
@@ -61,7 +61,7 @@ class TranscendentalCacheStub: public CodeStub { |
}; |
-class StoreBufferOverflowStub: public CodeStub { |
+class StoreBufferOverflowStub: public PlatformCodeStub { |
public: |
explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) |
: save_doubles_(save_fp) { } |
@@ -80,7 +80,7 @@ class StoreBufferOverflowStub: public CodeStub { |
}; |
-class UnaryOpStub: public CodeStub { |
+class UnaryOpStub: public PlatformCodeStub { |
public: |
UnaryOpStub(Token::Value op, |
UnaryOverwriteMode mode, |
@@ -154,7 +154,7 @@ class UnaryOpStub: public CodeStub { |
}; |
-class BinaryOpStub: public CodeStub { |
+class BinaryOpStub: public PlatformCodeStub { |
public: |
BinaryOpStub(Token::Value op, OverwriteMode mode) |
: op_(op), |
@@ -315,7 +315,7 @@ enum StringAddFlags { |
}; |
-class StringAddStub: public CodeStub { |
+class StringAddStub: public PlatformCodeStub { |
public: |
explicit StringAddStub(StringAddFlags flags) : flags_(flags) {} |
@@ -337,7 +337,7 @@ class StringAddStub: public CodeStub { |
}; |
-class SubStringStub: public CodeStub { |
+class SubStringStub: public PlatformCodeStub { |
public: |
SubStringStub() {} |
@@ -349,7 +349,7 @@ class SubStringStub: public CodeStub { |
}; |
-class StringCompareStub: public CodeStub { |
+class StringCompareStub: public PlatformCodeStub { |
public: |
StringCompareStub() { } |
@@ -385,7 +385,7 @@ class StringCompareStub: public CodeStub { |
}; |
-class NumberToStringStub: public CodeStub { |
+class NumberToStringStub: public PlatformCodeStub { |
public: |
NumberToStringStub() { } |
@@ -410,7 +410,7 @@ class NumberToStringStub: public CodeStub { |
}; |
-class StringDictionaryLookupStub: public CodeStub { |
+class StringDictionaryLookupStub: public PlatformCodeStub { |
public: |
enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
@@ -472,7 +472,7 @@ class StringDictionaryLookupStub: public CodeStub { |
}; |
-class RecordWriteStub: public CodeStub { |
+class RecordWriteStub: public PlatformCodeStub { |
public: |
RecordWriteStub(Register object, |
Register value, |
@@ -675,7 +675,7 @@ class RecordWriteStub: public CodeStub { |
Register GetRegThatIsNotEcxOr(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(ecx)) continue; |
if (candidate.is(r1)) continue; |