Index: src/ia32/code-stubs-ia32.h |
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h |
index 77be469d975cc6123022aea0dcbe141060051b2d..bc08cb0f6d7ed4346db163ad157cb6811a6c5df4 100644 |
--- a/src/ia32/code-stubs-ia32.h |
+++ b/src/ia32/code-stubs-ia32.h |
@@ -16,24 +16,6 @@ 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 characters using the rep movs instruction. |
@@ -51,45 +33,24 @@ class StringHelper : public AllStatic { |
Register hash, |
Register character, |
Register scratch); |
+ |
static void GenerateHashAddCharacter(MacroAssembler* masm, |
Register hash, |
Register character, |
Register scratch); |
+ |
static void GenerateHashGetHash(MacroAssembler* masm, |
Register hash, |
Register scratch); |
- 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 eax. |
static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
- Register left, |
- Register right, |
+ Register left, Register right, |
Register scratch1, |
Register scratch2, |
Register scratch3); |
- // Compares two flat ASCII strings for equality and returns result |
- // in eax. |
+ // Compares two flat ASCII strings for equality and returns result in eax. |
static void GenerateFlatAsciiStringEquals(MacroAssembler* masm, |
Register left, |
Register right, |
@@ -97,10 +58,6 @@ class StringCompareStub: public PlatformCodeStub { |
Register scratch2); |
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, |
@@ -109,6 +66,8 @@ class StringCompareStub: public PlatformCodeStub { |
Register scratch, |
Label* chars_not_equal, |
Label::Distance chars_not_equal_near = Label::kFar); |
+ |
+ DISALLOW_IMPLICIT_CONSTRUCTORS(StringHelper); |
}; |