| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // faster. Copying of overlapping regions is not supported. | 99 // faster. Copying of overlapping regions is not supported. |
| 100 // Dest register ends at the position after the last character written. | 100 // Dest register ends at the position after the last character written. |
| 101 static void GenerateCopyCharactersLong(MacroAssembler* masm, | 101 static void GenerateCopyCharactersLong(MacroAssembler* masm, |
| 102 Register dest, | 102 Register dest, |
| 103 Register src, | 103 Register src, |
| 104 Register count, | 104 Register count, |
| 105 Register scratch1, | 105 Register scratch1, |
| 106 Register scratch2, | 106 Register scratch2, |
| 107 Register scratch3, | 107 Register scratch3, |
| 108 Register scratch4, | 108 Register scratch4, |
| 109 Register scratch5, | |
| 110 int flags); | 109 int flags); |
| 111 | 110 |
| 112 | 111 |
| 113 // Probe the string table for a two character string. If the string is | 112 // Probe the string table for a two character string. If the string is |
| 114 // not found by probing a jump to the label not_found is performed. This jump | 113 // not found by probing a jump to the label not_found is performed. This jump |
| 115 // does not guarantee that the string is not in the string table. If the | 114 // does not guarantee that the string is not in the string table. If the |
| 116 // string is found the code falls through with the string in register r0. | 115 // string is found the code falls through with the string in register r0. |
| 117 // Contents of both c1 and c2 registers are modified. At the exit c1 is | 116 // Contents of both c1 and c2 registers are modified. At the exit c1 is |
| 118 // guaranteed to contain halfword with low and high bytes equal to | 117 // guaranteed to contain halfword with low and high bytes equal to |
| 119 // initial contents of c1 and c2 respectively. | 118 // initial contents of c1 and c2 respectively. |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // Encode the parameters in a unique 16 bit value. | 249 // Encode the parameters in a unique 16 bit value. |
| 251 return IntRegisterBits::encode(the_int_.code()) | 250 return IntRegisterBits::encode(the_int_.code()) |
| 252 | HeapNumberRegisterBits::encode(the_heap_number_.code()) | 251 | HeapNumberRegisterBits::encode(the_heap_number_.code()) |
| 253 | ScratchRegisterBits::encode(scratch_.code()); | 252 | ScratchRegisterBits::encode(scratch_.code()); |
| 254 } | 253 } |
| 255 | 254 |
| 256 void Generate(MacroAssembler* masm); | 255 void Generate(MacroAssembler* masm); |
| 257 }; | 256 }; |
| 258 | 257 |
| 259 | 258 |
| 260 class NumberToStringStub: public PlatformCodeStub { | |
| 261 public: | |
| 262 NumberToStringStub() { } | |
| 263 | |
| 264 private: | |
| 265 Major MajorKey() { return NumberToString; } | |
| 266 int MinorKey() { return 0; } | |
| 267 | |
| 268 void Generate(MacroAssembler* masm); | |
| 269 }; | |
| 270 | |
| 271 | |
| 272 class RecordWriteStub: public PlatformCodeStub { | 259 class RecordWriteStub: public PlatformCodeStub { |
| 273 public: | 260 public: |
| 274 RecordWriteStub(Register object, | 261 RecordWriteStub(Register object, |
| 275 Register value, | 262 Register value, |
| 276 Register address, | 263 Register address, |
| 277 RememberedSetAction remembered_set_action, | 264 RememberedSetAction remembered_set_action, |
| 278 SaveFPRegsMode fp_mode) | 265 SaveFPRegsMode fp_mode) |
| 279 : object_(object), | 266 : object_(object), |
| 280 value_(value), | 267 value_(value), |
| 281 address_(address), | 268 address_(address), |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 | 504 |
| 518 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 505 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
| 519 | 506 |
| 520 LookupMode mode_; | 507 LookupMode mode_; |
| 521 }; | 508 }; |
| 522 | 509 |
| 523 | 510 |
| 524 } } // namespace v8::internal | 511 } } // namespace v8::internal |
| 525 | 512 |
| 526 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 513 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
| OLD | NEW |