Index: src/arm/code-stubs-arm.h |
diff --git a/src/arm/code-stubs-arm.h b/src/arm/code-stubs-arm.h |
index 4d4d30d89e199c83062f83d91c537a7c73cefe86..292b32580df71f73b6bdf9389ea58b8298131aa5 100644 |
--- a/src/arm/code-stubs-arm.h |
+++ b/src/arm/code-stubs-arm.h |
@@ -346,10 +346,17 @@ class StringCompareStub: public CodeStub { |
Register scratch3); |
private: |
- Major MajorKey() { return StringCompare; } |
- int MinorKey() { return 0; } |
+ virtual Major MajorKey() { return StringCompare; } |
+ virtual int MinorKey() { return 0; } |
+ virtual void Generate(MacroAssembler* masm); |
- void Generate(MacroAssembler* masm); |
+ static void GenerateAsciiCharsCompareLoop(MacroAssembler* masm, |
+ Register left, |
+ Register right, |
+ Register length, |
+ Register scratch1, |
+ Register scratch2, |
+ Label* chars_not_equal); |
}; |