Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index 2ca7b7a8a1b5c80d51c90b028f1bfb10b8f5e624..4d4d30d89e199c83062f83d91c537a7c73cefe86 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -327,8 +327,7 @@ class StringCompareStub: public CodeStub { |
public: |
StringCompareStub() { } |
- // Compare two flat ASCII strings and returns result in r0. |
- // Does not use the stack. |
+ // Compares two flat ASCII strings and returns result in r0. |
static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
Register left, |
Register right, |
@@ -337,6 +336,15 @@ class StringCompareStub: public CodeStub { |
Register scratch3, |
Register scratch4); |
+ // Compares two flat ASCII strings for equality and returns result |
+ // in r0. |
+ static void GenerateFlatAsciiStringEquals(MacroAssembler* masm, |
+ Register left, |
+ Register right, |
+ Register scratch1, |
+ Register scratch2, |
+ Register scratch3); |
+ |
private: |
Major MajorKey() { return StringCompare; } |
int MinorKey() { return 0; } |