| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 Register src, | 165 Register src, |
| 166 Register count, | 166 Register count, |
| 167 Register scratch1, | 167 Register scratch1, |
| 168 Register scratch2, | 168 Register scratch2, |
| 169 Register scratch3, | 169 Register scratch3, |
| 170 Register scratch4, | 170 Register scratch4, |
| 171 Register scratch5, | 171 Register scratch5, |
| 172 int flags); | 172 int flags); |
| 173 | 173 |
| 174 | 174 |
| 175 // Probe the symbol table for a two character string. If the string is | 175 // Probe the string table for a two character string. If the string is |
| 176 // not found by probing a jump to the label not_found is performed. This jump | 176 // not found by probing a jump to the label not_found is performed. This jump |
| 177 // does not guarantee that the string is not in the symbol table. If the | 177 // does not guarantee that the string is not in the string table. If the |
| 178 // string is found the code falls through with the string in register r0. | 178 // string is found the code falls through with the string in register r0. |
| 179 // Contents of both c1 and c2 registers are modified. At the exit c1 is | 179 // Contents of both c1 and c2 registers are modified. At the exit c1 is |
| 180 // guaranteed to contain halfword with low and high bytes equal to | 180 // guaranteed to contain halfword with low and high bytes equal to |
| 181 // initial contents of c1 and c2 respectively. | 181 // initial contents of c1 and c2 respectively. |
| 182 static void GenerateTwoCharacterSymbolTableProbe(MacroAssembler* masm, | 182 static void GenerateTwoCharacterStringTableProbe(MacroAssembler* masm, |
| 183 Register c1, | 183 Register c1, |
| 184 Register c2, | 184 Register c2, |
| 185 Register scratch1, | 185 Register scratch1, |
| 186 Register scratch2, | 186 Register scratch2, |
| 187 Register scratch3, | 187 Register scratch3, |
| 188 Register scratch4, | 188 Register scratch4, |
| 189 Register scratch5, | 189 Register scratch5, |
| 190 Label* not_found); | 190 Label* not_found); |
| 191 | 191 |
| 192 // Generate string hash. | 192 // Generate string hash. |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 | 791 |
| 792 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 792 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 793 | 793 |
| 794 LookupMode mode_; | 794 LookupMode mode_; |
| 795 }; | 795 }; |
| 796 | 796 |
| 797 | 797 |
| 798 } } // namespace v8::internal | 798 } } // namespace v8::internal |
| 799 | 799 |
| 800 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 800 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
| OLD | NEW |