| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 | 423 |
| 424 void Generate(MacroAssembler* masm); | 424 void Generate(MacroAssembler* masm); |
| 425 | 425 |
| 426 static void GenerateNegativeLookup(MacroAssembler* masm, | 426 static void GenerateNegativeLookup(MacroAssembler* masm, |
| 427 Label* miss, | 427 Label* miss, |
| 428 Label* done, | 428 Label* done, |
| 429 Register properties, | 429 Register properties, |
| 430 Handle<String> name, | 430 Handle<String> name, |
| 431 Register r0); | 431 Register r0); |
| 432 | 432 |
| 433 // TODO(kmillikin): Eliminate this function when the stub cache is fully | |
| 434 // handlified. | |
| 435 MUST_USE_RESULT static MaybeObject* TryGenerateNegativeLookup( | |
| 436 MacroAssembler* masm, | |
| 437 Label* miss, | |
| 438 Label* done, | |
| 439 Register properties, | |
| 440 String* name, | |
| 441 Register r0); | |
| 442 | |
| 443 static void GeneratePositiveLookup(MacroAssembler* masm, | 433 static void GeneratePositiveLookup(MacroAssembler* masm, |
| 444 Label* miss, | 434 Label* miss, |
| 445 Label* done, | 435 Label* done, |
| 446 Register elements, | 436 Register elements, |
| 447 Register name, | 437 Register name, |
| 448 Register r0, | 438 Register r0, |
| 449 Register r1); | 439 Register r1); |
| 450 | 440 |
| 451 virtual bool SometimesSetsUpAFrame() { return false; } | 441 virtual bool SometimesSetsUpAFrame() { return false; } |
| 452 | 442 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 RememberedSetAction remembered_set_action_; | 716 RememberedSetAction remembered_set_action_; |
| 727 SaveFPRegsMode save_fp_regs_mode_; | 717 SaveFPRegsMode save_fp_regs_mode_; |
| 728 Label slow_; | 718 Label slow_; |
| 729 RegisterAllocation regs_; | 719 RegisterAllocation regs_; |
| 730 }; | 720 }; |
| 731 | 721 |
| 732 | 722 |
| 733 } } // namespace v8::internal | 723 } } // namespace v8::internal |
| 734 | 724 |
| 735 #endif // V8_X64_CODE_STUBS_X64_H_ | 725 #endif // V8_X64_CODE_STUBS_X64_H_ |
| OLD | NEW |