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 21 matching lines...) Expand all Loading... |
32 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } | 32 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } |
33 }; | 33 }; |
34 | 34 |
35 | 35 |
36 class StringHelper : public AllStatic { | 36 class StringHelper : public AllStatic { |
37 public: | 37 public: |
38 // Generate code for copying a large number of characters. This function | 38 // Generate code for copying a large number of characters. This function |
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 GenerateCopyCharactersLong(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 scratch1, | 46 Register scratch, |
47 Register scratch2, | 47 String::Encoding encoding); |
48 Register scratch3, | |
49 Register scratch4, | |
50 Register scratch5, | |
51 int flags); | |
52 | 48 |
53 | 49 |
54 // Generate string hash. | 50 // Generate string hash. |
55 static void GenerateHashInit(MacroAssembler* masm, | 51 static void GenerateHashInit(MacroAssembler* masm, |
56 Register hash, | 52 Register hash, |
57 Register character); | 53 Register character); |
58 | 54 |
59 static void GenerateHashAddCharacter(MacroAssembler* masm, | 55 static void GenerateHashAddCharacter(MacroAssembler* masm, |
60 Register hash, | 56 Register hash, |
61 Register character); | 57 Register character); |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 | 442 |
447 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 443 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
448 | 444 |
449 LookupMode mode_; | 445 LookupMode mode_; |
450 }; | 446 }; |
451 | 447 |
452 | 448 |
453 } } // namespace v8::internal | 449 } } // namespace v8::internal |
454 | 450 |
455 #endif // V8_MIPS_CODE_STUBS_ARM_H_ | 451 #endif // V8_MIPS_CODE_STUBS_ARM_H_ |
OLD | NEW |