Index: src/ia32/code-stubs-ia32.h |
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h |
index dcbcc61acb0e049b257ac90000b2b49d3b73a37a..a17ebdac5833f040f0c02af2c88b79153e6b08d1 100644 |
--- a/src/ia32/code-stubs-ia32.h |
+++ b/src/ia32/code-stubs-ia32.h |
@@ -372,11 +372,9 @@ class SubStringStub: public CodeStub { |
class StringCompareStub: public CodeStub { |
public: |
- explicit StringCompareStub() { |
- } |
+ StringCompareStub() { } |
- // Compare two flat ascii strings and returns result in eax after popping two |
- // arguments from the stack. |
+ // Compares two flat ASCII strings and returns result in eax. |
static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
Register left, |
Register right, |
@@ -384,6 +382,14 @@ class StringCompareStub: public CodeStub { |
Register scratch2, |
Register scratch3); |
+ // Compares two flat ASCII strings for equality and returns result |
+ // in eax. |
+ static void GenerateFlatAsciiStringEquals(MacroAssembler* masm, |
+ Register left, |
+ Register right, |
+ Register scratch1, |
+ Register scratch2); |
+ |
private: |
Major MajorKey() { return StringCompare; } |
int MinorKey() { return 0; } |