OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 int flags); | 173 int flags); |
174 | 174 |
175 | 175 |
176 // Probe the symbol table for a two character string. If the string is | 176 // Probe the symbol table for a two character string. If the string is |
177 // not found by probing a jump to the label not_found is performed. This jump | 177 // not found by probing a jump to the label not_found is performed. This jump |
178 // does not guarantee that the string is not in the symbol table. If the | 178 // does not guarantee that the string is not in the symbol table. If the |
179 // string is found the code falls through with the string in register r0. | 179 // string is found the code falls through with the string in register r0. |
180 // Contents of both c1 and c2 registers are modified. At the exit c1 is | 180 // Contents of both c1 and c2 registers are modified. At the exit c1 is |
181 // guaranteed to contain halfword with low and high bytes equal to | 181 // guaranteed to contain halfword with low and high bytes equal to |
182 // initial contents of c1 and c2 respectively. | 182 // initial contents of c1 and c2 respectively. |
183 static void GenerateTwoCharacterSymbolTableProbe(MacroAssembler* masm, | 183 static void GenerateTwoCharacterStringTableProbe(MacroAssembler* masm, |
184 Register c1, | 184 Register c1, |
185 Register c2, | 185 Register c2, |
186 Register scratch1, | 186 Register scratch1, |
187 Register scratch2, | 187 Register scratch2, |
188 Register scratch3, | 188 Register scratch3, |
189 Register scratch4, | 189 Register scratch4, |
190 Register scratch5, | 190 Register scratch5, |
191 Label* not_found); | 191 Label* not_found); |
192 | 192 |
193 // Generate string hash. | 193 // Generate string hash. |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 | 785 |
786 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 786 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
787 | 787 |
788 LookupMode mode_; | 788 LookupMode mode_; |
789 }; | 789 }; |
790 | 790 |
791 | 791 |
792 } } // namespace v8::internal | 792 } } // namespace v8::internal |
793 | 793 |
794 #endif // V8_MIPS_CODE_STUBS_ARM_H_ | 794 #endif // V8_MIPS_CODE_STUBS_ARM_H_ |
OLD | NEW |