| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 Register scratch4, | 147 Register scratch4, |
| 148 Label* slow); | 148 Label* slow); |
| 149 | 149 |
| 150 void GenerateRegisterArgsPush(MacroAssembler* masm); | 150 void GenerateRegisterArgsPush(MacroAssembler* masm); |
| 151 void GenerateRegisterArgsPop(MacroAssembler* masm); | 151 void GenerateRegisterArgsPop(MacroAssembler* masm); |
| 152 | 152 |
| 153 const StringAddFlags flags_; | 153 const StringAddFlags flags_; |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 | 156 |
| 157 class NumberToStringStub: public PlatformCodeStub { | |
| 158 public: | |
| 159 NumberToStringStub() { } | |
| 160 | |
| 161 private: | |
| 162 Major MajorKey() { return NumberToString; } | |
| 163 int MinorKey() { return 0; } | |
| 164 | |
| 165 void Generate(MacroAssembler* masm); | |
| 166 }; | |
| 167 | |
| 168 | |
| 169 class RecordWriteStub: public PlatformCodeStub { | 157 class RecordWriteStub: public PlatformCodeStub { |
| 170 public: | 158 public: |
| 171 // Stub to record the write of 'value' at 'address' in 'object'. | 159 // Stub to record the write of 'value' at 'address' in 'object'. |
| 172 // Typically 'address' = 'object' + <some offset>. | 160 // Typically 'address' = 'object' + <some offset>. |
| 173 // See MacroAssembler::RecordWriteField() for example. | 161 // See MacroAssembler::RecordWriteField() for example. |
| 174 RecordWriteStub(Register object, | 162 RecordWriteStub(Register object, |
| 175 Register value, | 163 Register value, |
| 176 Register address, | 164 Register address, |
| 177 RememberedSetAction remembered_set_action, | 165 RememberedSetAction remembered_set_action, |
| 178 SaveFPRegsMode fp_mode) | 166 SaveFPRegsMode fp_mode) |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 Register length, | 527 Register length, |
| 540 Register scratch1, | 528 Register scratch1, |
| 541 Register scratch2, | 529 Register scratch2, |
| 542 Label* chars_not_equal); | 530 Label* chars_not_equal); |
| 543 }; | 531 }; |
| 544 | 532 |
| 545 | 533 |
| 546 } } // namespace v8::internal | 534 } } // namespace v8::internal |
| 547 | 535 |
| 548 #endif // V8_A64_CODE_STUBS_A64_H_ | 536 #endif // V8_A64_CODE_STUBS_A64_H_ |
| OLD | NEW |