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 | |
272 class RecordWriteStub: public PlatformCodeStub { | 260 class RecordWriteStub: public PlatformCodeStub { |
273 public: | 261 public: |
274 RecordWriteStub(Register object, | 262 RecordWriteStub(Register object, |
275 Register value, | 263 Register value, |
276 Register address, | 264 Register address, |
277 RememberedSetAction remembered_set_action, | 265 RememberedSetAction remembered_set_action, |
278 SaveFPRegsMode fp_mode) | 266 SaveFPRegsMode fp_mode) |
279 : object_(object), | 267 : object_(object), |
280 value_(value), | 268 value_(value), |
281 address_(address), | 269 address_(address), |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 | 505 |
518 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; | 506 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; |
519 | 507 |
520 LookupMode mode_; | 508 LookupMode mode_; |
521 }; | 509 }; |
522 | 510 |
523 | 511 |
524 } } // namespace v8::internal | 512 } } // namespace v8::internal |
525 | 513 |
526 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 514 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
OLD | NEW |