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 | |
232 class NameDictionaryLookupStub: public PlatformCodeStub { | 220 class NameDictionaryLookupStub: public PlatformCodeStub { |
233 public: | 221 public: |
234 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; | 222 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
235 | 223 |
236 NameDictionaryLookupStub(Register dictionary, | 224 NameDictionaryLookupStub(Register dictionary, |
237 Register result, | 225 Register result, |
238 Register index, | 226 Register index, |
239 LookupMode mode) | 227 LookupMode mode) |
240 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } | 228 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } |
241 | 229 |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 Register address_; | 535 Register address_; |
548 RememberedSetAction remembered_set_action_; | 536 RememberedSetAction remembered_set_action_; |
549 SaveFPRegsMode save_fp_regs_mode_; | 537 SaveFPRegsMode save_fp_regs_mode_; |
550 RegisterAllocation regs_; | 538 RegisterAllocation regs_; |
551 }; | 539 }; |
552 | 540 |
553 | 541 |
554 } } // namespace v8::internal | 542 } } // namespace v8::internal |
555 | 543 |
556 #endif // V8_IA32_CODE_STUBS_IA32_H_ | 544 #endif // V8_IA32_CODE_STUBS_IA32_H_ |
OLD | NEW |