Index: src/arm/codegen-arm.h |
=================================================================== |
--- src/arm/codegen-arm.h (revision 4029) |
+++ src/arm/codegen-arm.h (working copy) |
@@ -564,6 +564,36 @@ |
Register scratch4, |
Register scratch5, |
int flags); |
+ |
+ |
+ // Probe the symbol table for a two character string. If the string is |
+ // not found by probing a jump to the label not_found is performed. This jump |
+ // does not guarantee that the string is not in the symbol table. If the |
+ // string is found the code falls through with the string in register r0. |
+ // Contents of both c1 and c2 registers are modified. At the exit c1 is |
+ // guaranteed to contain halfword with low and high bytes equal to |
+ // initial contents of c1 and c2 respectively. |
+ void GenerateTwoCharacterSymbolTableProbe(MacroAssembler* masm, |
+ Register c1, |
+ Register c2, |
+ Register scratch1, |
+ Register scratch2, |
+ Register scratch3, |
+ Register scratch4, |
+ Register scratch5, |
+ Label* not_found); |
+ |
+ // Generate string hash. |
+ void GenerateHashInit(MacroAssembler* masm, |
+ Register hash, |
+ Register character); |
+ |
+ void GenerateHashAddCharacter(MacroAssembler* masm, |
+ Register hash, |
+ Register character); |
+ |
+ void GenerateHashGetHash(MacroAssembler* masm, |
+ Register hash); |
}; |