Index: src/mips64/code-stubs-mips64.h |
diff --git a/src/mips64/code-stubs-mips64.h b/src/mips64/code-stubs-mips64.h |
index a07ffae001edcedb3c8ce38665c3f83f54fa95fb..86f4ab6fad560f161264da486cde946aec77a9c5 100644 |
--- a/src/mips64/code-stubs-mips64.h |
+++ b/src/mips64/code-stubs-mips64.h |
@@ -25,32 +25,23 @@ class StringHelper : public AllStatic { |
Register scratch, |
String::Encoding encoding); |
- // Compare two flat ASCII strings and returns result in v0. |
- static void GenerateCompareFlatAsciiStrings(MacroAssembler* masm, |
- Register left, |
- Register right, |
+ // Compares two flat one-byte strings and returns result in v0. |
+ static void GenerateCompareFlatOneByteStrings( |
+ MacroAssembler* masm, Register left, Register right, Register scratch1, |
+ Register scratch2, Register scratch3, Register scratch4); |
+ |
+ // Compares two flat one-byte strings for equality and returns result in v0. |
+ static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, |
+ Register left, Register right, |
Register scratch1, |
Register scratch2, |
- Register scratch3, |
- Register scratch4); |
- |
- // Compares two flat ASCII strings for equality and returns result in v0. |
- static void GenerateFlatAsciiStringEquals(MacroAssembler* masm, |
- Register left, |
- Register right, |
- Register scratch1, |
- Register scratch2, |
- Register scratch3); |
+ Register scratch3); |
private: |
- static void GenerateAsciiCharsCompareLoop(MacroAssembler* masm, |
- Register left, |
- Register right, |
- Register length, |
- Register scratch1, |
- Register scratch2, |
- Register scratch3, |
- Label* chars_not_equal); |
+ static void GenerateOneByteCharsCompareLoop( |
+ MacroAssembler* masm, Register left, Register right, Register length, |
+ Register scratch1, Register scratch2, Register scratch3, |
+ Label* chars_not_equal); |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(StringHelper); |