| 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; | 414 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; |
| 415 | 415 |
| 416 StringDictionaryLookupStub(Register dictionary, | 416 StringDictionaryLookupStub(Register dictionary, |
| 417 Register result, | 417 Register result, |
| 418 Register index, | 418 Register index, |
| 419 LookupMode mode) | 419 LookupMode mode) |
| 420 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } | 420 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } |
| 421 | 421 |
| 422 void Generate(MacroAssembler* masm); | 422 void Generate(MacroAssembler* masm); |
| 423 | 423 |
| 424 MUST_USE_RESULT static MaybeObject* GenerateNegativeLookup( | 424 static void GenerateNegativeLookup(MacroAssembler* masm, |
| 425 Label* miss, |
| 426 Label* done, |
| 427 Register properties, |
| 428 Handle<String> name, |
| 429 Register r0); |
| 430 |
| 431 // TODO(kmillikin): Eliminate this function when the stub cache is fully |
| 432 // handlified. |
| 433 MUST_USE_RESULT static MaybeObject* TryGenerateNegativeLookup( |
| 425 MacroAssembler* masm, | 434 MacroAssembler* masm, |
| 426 Label* miss, | 435 Label* miss, |
| 427 Label* done, | 436 Label* done, |
| 428 Register properties, | 437 Register properties, |
| 429 String* name, | 438 String* name, |
| 430 Register r0); | 439 Register r0); |
| 431 | 440 |
| 432 static void GeneratePositiveLookup(MacroAssembler* masm, | 441 static void GeneratePositiveLookup(MacroAssembler* masm, |
| 433 Label* miss, | 442 Label* miss, |
| 434 Label* done, | 443 Label* done, |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 Register address_; | 743 Register address_; |
| 735 RememberedSetAction remembered_set_action_; | 744 RememberedSetAction remembered_set_action_; |
| 736 SaveFPRegsMode save_fp_regs_mode_; | 745 SaveFPRegsMode save_fp_regs_mode_; |
| 737 RegisterAllocation regs_; | 746 RegisterAllocation regs_; |
| 738 }; | 747 }; |
| 739 | 748 |
| 740 | 749 |
| 741 } } // namespace v8::internal | 750 } } // namespace v8::internal |
| 742 | 751 |
| 743 #endif // V8_IA32_CODE_STUBS_IA32_H_ | 752 #endif // V8_IA32_CODE_STUBS_IA32_H_ |
| OLD | NEW |