OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 MacroAssembler* masm, | 201 MacroAssembler* masm, |
202 Register left, | 202 Register left, |
203 Register right, | 203 Register right, |
204 Register length, | 204 Register length, |
205 Register scratch, | 205 Register scratch, |
206 Label* chars_not_equal, | 206 Label* chars_not_equal, |
207 Label::Distance near_jump = Label::kFar); | 207 Label::Distance near_jump = Label::kFar); |
208 }; | 208 }; |
209 | 209 |
210 | 210 |
211 class NumberToStringStub: public PlatformCodeStub { | |
212 public: | |
213 NumberToStringStub() { } | |
214 | |
215 private: | |
216 Major MajorKey() { return NumberToString; } | |
217 int MinorKey() { return 0; } | |
218 | |
219 void Generate(MacroAssembler* masm); | |
220 }; | |
221 | |
222 | |
223 class NameDictionaryLookupStub: public PlatformCodeStub { | 211 class NameDictionaryLookupStub: public PlatformCodeStub { |
224 public: | 212 public: |
225 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; | 213 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
226 | 214 |
227 NameDictionaryLookupStub(Register dictionary, | 215 NameDictionaryLookupStub(Register dictionary, |
228 Register result, | 216 Register result, |
229 Register index, | 217 Register index, |
230 LookupMode mode) | 218 LookupMode mode) |
231 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } | 219 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } |
232 | 220 |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 RememberedSetAction remembered_set_action_; | 506 RememberedSetAction remembered_set_action_; |
519 SaveFPRegsMode save_fp_regs_mode_; | 507 SaveFPRegsMode save_fp_regs_mode_; |
520 Label slow_; | 508 Label slow_; |
521 RegisterAllocation regs_; | 509 RegisterAllocation regs_; |
522 }; | 510 }; |
523 | 511 |
524 | 512 |
525 } } // namespace v8::internal | 513 } } // namespace v8::internal |
526 | 514 |
527 #endif // V8_X64_CODE_STUBS_X64_H_ | 515 #endif // V8_X64_CODE_STUBS_X64_H_ |
OLD | NEW |