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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 // Encode the parameters in a unique 16 bit value. | 250 // Encode the parameters in a unique 16 bit value. |
251 return IntRegisterBits::encode(the_int_.code()) | 251 return IntRegisterBits::encode(the_int_.code()) |
252 | HeapNumberRegisterBits::encode(the_heap_number_.code()) | 252 | HeapNumberRegisterBits::encode(the_heap_number_.code()) |
253 | ScratchRegisterBits::encode(scratch_.code()); | 253 | ScratchRegisterBits::encode(scratch_.code()); |
254 } | 254 } |
255 | 255 |
256 void Generate(MacroAssembler* masm); | 256 void Generate(MacroAssembler* masm); |
257 }; | 257 }; |
258 | 258 |
259 | 259 |
| 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 |
260 class RecordWriteStub: public PlatformCodeStub { | 272 class RecordWriteStub: public PlatformCodeStub { |
261 public: | 273 public: |
262 RecordWriteStub(Register object, | 274 RecordWriteStub(Register object, |
263 Register value, | 275 Register value, |
264 Register address, | 276 Register address, |
265 RememberedSetAction remembered_set_action, | 277 RememberedSetAction remembered_set_action, |
266 SaveFPRegsMode fp_mode) | 278 SaveFPRegsMode fp_mode) |
267 : object_(object), | 279 : object_(object), |
268 value_(value), | 280 value_(value), |
269 address_(address), | 281 address_(address), |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 | 517 |
506 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 518 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
507 | 519 |
508 LookupMode mode_; | 520 LookupMode mode_; |
509 }; | 521 }; |
510 | 522 |
511 | 523 |
512 } } // namespace v8::internal | 524 } } // namespace v8::internal |
513 | 525 |
514 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 526 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
OLD | NEW |