Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index eed858819286beaacae903ee15c66de2ef6d8d00..06265dd7f2289c036e34a5b52f451e494c9df90c 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -14,24 +14,6 @@ namespace internal { |
void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); |
-class StoreBufferOverflowStub: public PlatformCodeStub { |
- public: |
- StoreBufferOverflowStub(Isolate* isolate, SaveFPRegsMode save_fp) |
- : PlatformCodeStub(isolate), save_doubles_(save_fp) {} |
- |
- void Generate(MacroAssembler* masm); |
- |
- static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate); |
- virtual bool SometimesSetsUpAFrame() { return false; } |
- |
- private: |
- SaveFPRegsMode save_doubles_; |
- |
- Major MajorKey() const { return StoreBufferOverflow; } |
- uint32_t MinorKey() const { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
-}; |
- |
- |
class StringHelper : public AllStatic { |
public: |
// Generate code for copying a large number of characters. This function |
@@ -58,28 +40,6 @@ class StringHelper : public AllStatic { |
static void GenerateHashGetHash(MacroAssembler* masm, |
Register hash); |
- private: |
- DISALLOW_IMPLICIT_CONSTRUCTORS(StringHelper); |
-}; |
- |
- |
-class SubStringStub: public PlatformCodeStub { |
- public: |
- explicit SubStringStub(Isolate* isolate) : PlatformCodeStub(isolate) {} |
- |
- private: |
- Major MajorKey() const { return SubString; } |
- uint32_t MinorKey() const { return 0; } |
- |
- void Generate(MacroAssembler* masm); |
-}; |
- |
- |
- |
-class StringCompareStub: public PlatformCodeStub { |
- public: |
- explicit StringCompareStub(Isolate* isolate) : PlatformCodeStub(isolate) { } |
- |
// Compares two flat ASCII strings and returns result in r0. |
static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
Register left, |
@@ -89,8 +49,7 @@ class StringCompareStub: public PlatformCodeStub { |
Register scratch3, |
Register scratch4); |
- // Compares two flat ASCII strings for equality and returns result |
- // in r0. |
+ // Compares two flat ASCII strings for equality and returns result in r0. |
static void GenerateFlatAsciiStringEquals(MacroAssembler* masm, |
Register left, |
Register right, |
@@ -99,10 +58,6 @@ class StringCompareStub: public PlatformCodeStub { |
Register scratch3); |
private: |
- virtual Major MajorKey() const { return StringCompare; } |
- virtual uint32_t MinorKey() const { return 0; } |
- virtual void Generate(MacroAssembler* masm); |
- |
static void GenerateAsciiCharsCompareLoop(MacroAssembler* masm, |
Register left, |
Register right, |
@@ -110,6 +65,8 @@ class StringCompareStub: public PlatformCodeStub { |
Register scratch1, |
Register scratch2, |
Label* chars_not_equal); |
+ |
+ DISALLOW_IMPLICIT_CONSTRUCTORS(StringHelper); |
}; |