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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 | 421 |
422 void Generate(MacroAssembler* masm); | 422 void Generate(MacroAssembler* masm); |
423 | 423 |
424 static void GenerateNegativeLookup(MacroAssembler* masm, | 424 static void GenerateNegativeLookup(MacroAssembler* masm, |
425 Label* miss, | 425 Label* miss, |
426 Label* done, | 426 Label* done, |
427 Register properties, | 427 Register properties, |
428 Handle<String> name, | 428 Handle<String> name, |
429 Register r0); | 429 Register r0); |
430 | 430 |
431 // TODO(kmillikin): Eliminate this function when the stub cache is fully | |
432 // handlified. | |
433 MUST_USE_RESULT static MaybeObject* TryGenerateNegativeLookup( | |
434 MacroAssembler* masm, | |
435 Label* miss, | |
436 Label* done, | |
437 Register properties, | |
438 String* name, | |
439 Register r0); | |
440 | |
441 static void GeneratePositiveLookup(MacroAssembler* masm, | 431 static void GeneratePositiveLookup(MacroAssembler* masm, |
442 Label* miss, | 432 Label* miss, |
443 Label* done, | 433 Label* done, |
444 Register elements, | 434 Register elements, |
445 Register name, | 435 Register name, |
446 Register r0, | 436 Register r0, |
447 Register r1); | 437 Register r1); |
448 | 438 |
449 virtual bool SometimesSetsUpAFrame() { return false; } | 439 virtual bool SometimesSetsUpAFrame() { return false; } |
450 | 440 |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 Register address_; | 733 Register address_; |
744 RememberedSetAction remembered_set_action_; | 734 RememberedSetAction remembered_set_action_; |
745 SaveFPRegsMode save_fp_regs_mode_; | 735 SaveFPRegsMode save_fp_regs_mode_; |
746 RegisterAllocation regs_; | 736 RegisterAllocation regs_; |
747 }; | 737 }; |
748 | 738 |
749 | 739 |
750 } } // namespace v8::internal | 740 } } // namespace v8::internal |
751 | 741 |
752 #endif // V8_IA32_CODE_STUBS_IA32_H_ | 742 #endif // V8_IA32_CODE_STUBS_IA32_H_ |
OLD | NEW |