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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; | 416 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
417 | 417 |
418 StringDictionaryLookupStub(Register dictionary, | 418 StringDictionaryLookupStub(Register dictionary, |
419 Register result, | 419 Register result, |
420 Register index, | 420 Register index, |
421 LookupMode mode) | 421 LookupMode mode) |
422 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } | 422 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } |
423 | 423 |
424 void Generate(MacroAssembler* masm); | 424 void Generate(MacroAssembler* masm); |
425 | 425 |
426 MUST_USE_RESULT static MaybeObject* GenerateNegativeLookup( | 426 static void GenerateNegativeLookup(MacroAssembler* masm, |
| 427 Label* miss, |
| 428 Label* done, |
| 429 Register properties, |
| 430 Handle<String> name, |
| 431 Register r0); |
| 432 |
| 433 // TODO(kmillikin): Eliminate this function when the stub cache is fully |
| 434 // handlified. |
| 435 MUST_USE_RESULT static MaybeObject* TryGenerateNegativeLookup( |
427 MacroAssembler* masm, | 436 MacroAssembler* masm, |
428 Label* miss, | 437 Label* miss, |
429 Label* done, | 438 Label* done, |
430 Register properties, | 439 Register properties, |
431 String* name, | 440 String* name, |
432 Register r0); | 441 Register r0); |
433 | 442 |
434 static void GeneratePositiveLookup(MacroAssembler* masm, | 443 static void GeneratePositiveLookup(MacroAssembler* masm, |
435 Label* miss, | 444 Label* miss, |
436 Label* done, | 445 Label* done, |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 RememberedSetAction remembered_set_action_; | 726 RememberedSetAction remembered_set_action_; |
718 SaveFPRegsMode save_fp_regs_mode_; | 727 SaveFPRegsMode save_fp_regs_mode_; |
719 Label slow_; | 728 Label slow_; |
720 RegisterAllocation regs_; | 729 RegisterAllocation regs_; |
721 }; | 730 }; |
722 | 731 |
723 | 732 |
724 } } // namespace v8::internal | 733 } } // namespace v8::internal |
725 | 734 |
726 #endif // V8_X64_CODE_STUBS_X64_H_ | 735 #endif // V8_X64_CODE_STUBS_X64_H_ |
OLD | NEW |