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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 MacroAssembler* masm, | 210 MacroAssembler* masm, |
211 Register left, | 211 Register left, |
212 Register right, | 212 Register right, |
213 Register length, | 213 Register length, |
214 Register scratch, | 214 Register scratch, |
215 Label* chars_not_equal, | 215 Label* chars_not_equal, |
216 Label::Distance chars_not_equal_near = Label::kFar); | 216 Label::Distance chars_not_equal_near = Label::kFar); |
217 }; | 217 }; |
218 | 218 |
219 | 219 |
| 220 class NumberToStringStub: public PlatformCodeStub { |
| 221 public: |
| 222 NumberToStringStub() { } |
| 223 |
| 224 private: |
| 225 Major MajorKey() { return NumberToString; } |
| 226 int MinorKey() { return 0; } |
| 227 |
| 228 void Generate(MacroAssembler* masm); |
| 229 }; |
| 230 |
| 231 |
220 class NameDictionaryLookupStub: public PlatformCodeStub { | 232 class NameDictionaryLookupStub: public PlatformCodeStub { |
221 public: | 233 public: |
222 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; | 234 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
223 | 235 |
224 NameDictionaryLookupStub(Register dictionary, | 236 NameDictionaryLookupStub(Register dictionary, |
225 Register result, | 237 Register result, |
226 Register index, | 238 Register index, |
227 LookupMode mode) | 239 LookupMode mode) |
228 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } | 240 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } |
229 | 241 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 Register address_; | 547 Register address_; |
536 RememberedSetAction remembered_set_action_; | 548 RememberedSetAction remembered_set_action_; |
537 SaveFPRegsMode save_fp_regs_mode_; | 549 SaveFPRegsMode save_fp_regs_mode_; |
538 RegisterAllocation regs_; | 550 RegisterAllocation regs_; |
539 }; | 551 }; |
540 | 552 |
541 | 553 |
542 } } // namespace v8::internal | 554 } } // namespace v8::internal |
543 | 555 |
544 #endif // V8_IA32_CODE_STUBS_IA32_H_ | 556 #endif // V8_IA32_CODE_STUBS_IA32_H_ |
OLD | NEW |