Index: src/ia32/code-stubs-ia32.h |
diff --git a/src/ia32/code-stubs-ia32.h b/src/ia32/code-stubs-ia32.h |
index 64de33467076e21ce2802097ec53096b547853c4..7943f26c33db95ee853bd9879685c12f9057b1cc 100644 |
--- a/src/ia32/code-stubs-ia32.h |
+++ b/src/ia32/code-stubs-ia32.h |
@@ -26,28 +26,23 @@ class StringHelper : public AllStatic { |
Register scratch, |
String::Encoding encoding); |
- // Compares two flat ASCII strings and returns result in eax. |
- static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
+ // Compares two flat one byte strings and returns result in eax. |
+ static void GenerateCompareFlatOneByteStrings(MacroAssembler* masm, |
+ Register left, Register right, |
+ Register scratch1, |
+ Register scratch2, |
+ Register scratch3); |
+ |
+ // Compares two flat one byte strings for equality and returns result in eax. |
+ static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, |
Register left, Register right, |
Register scratch1, |
- 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); |
+ Register scratch2); |
private: |
- static void GenerateAsciiCharsCompareLoop( |
- MacroAssembler* masm, |
- Register left, |
- Register right, |
- Register length, |
- Register scratch, |
- Label* chars_not_equal, |
+ static void GenerateOneByteCharsCompareLoop( |
+ MacroAssembler* masm, Register left, Register right, Register length, |
+ Register scratch, Label* chars_not_equal, |
Label::Distance chars_not_equal_near = Label::kFar); |
DISALLOW_IMPLICIT_CONSTRUCTORS(StringHelper); |