OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_MIPS_CODE_STUBS_ARM_H_ | 5 #ifndef V8_MIPS_CODE_STUBS_ARM_H_ |
6 #define V8_MIPS_CODE_STUBS_ARM_H_ | 6 #define V8_MIPS_CODE_STUBS_ARM_H_ |
7 | 7 |
8 #include "src/ic-inl.h" | 8 #include "src/ic-inl.h" |
9 | 9 |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 // is allowed to spend extra time setting up conditions to make copying | 39 // is allowed to spend extra time setting up conditions to make copying |
40 // faster. Copying of overlapping regions is not supported. | 40 // faster. Copying of overlapping regions is not supported. |
41 // Dest register ends at the position after the last character written. | 41 // Dest register ends at the position after the last character written. |
42 static void GenerateCopyCharacters(MacroAssembler* masm, | 42 static void GenerateCopyCharacters(MacroAssembler* masm, |
43 Register dest, | 43 Register dest, |
44 Register src, | 44 Register src, |
45 Register count, | 45 Register count, |
46 Register scratch, | 46 Register scratch, |
47 String::Encoding encoding); | 47 String::Encoding encoding); |
48 | 48 |
49 | |
50 // Generate string hash. | 49 // Generate string hash. |
51 static void GenerateHashInit(MacroAssembler* masm, | 50 static void GenerateHashInit(MacroAssembler* masm, |
52 Register hash, | 51 Register hash, |
53 Register character); | 52 Register character); |
54 | 53 |
55 static void GenerateHashAddCharacter(MacroAssembler* masm, | 54 static void GenerateHashAddCharacter(MacroAssembler* masm, |
56 Register hash, | 55 Register hash, |
57 Register character); | 56 Register character); |
58 | 57 |
59 static void GenerateHashGetHash(MacroAssembler* masm, | 58 static void GenerateHashGetHash(MacroAssembler* masm, |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 | 441 |
443 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 442 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
444 | 443 |
445 LookupMode mode_; | 444 LookupMode mode_; |
446 }; | 445 }; |
447 | 446 |
448 | 447 |
449 } } // namespace v8::internal | 448 } } // namespace v8::internal |
450 | 449 |
451 #endif // V8_MIPS_CODE_STUBS_ARM_H_ | 450 #endif // V8_MIPS_CODE_STUBS_ARM_H_ |
OLD | NEW |