OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 virtual ~RegExpCEntryStub() {} | 561 virtual ~RegExpCEntryStub() {} |
562 void Generate(MacroAssembler* masm); | 562 void Generate(MacroAssembler* masm); |
563 | 563 |
564 private: | 564 private: |
565 Major MajorKey() { return RegExpCEntry; } | 565 Major MajorKey() { return RegExpCEntry; } |
566 int MinorKey() { return 0; } | 566 int MinorKey() { return 0; } |
567 const char* GetName() { return "RegExpCEntryStub"; } | 567 const char* GetName() { return "RegExpCEntryStub"; } |
568 }; | 568 }; |
569 | 569 |
570 | 570 |
| 571 // Loads a indexed element from a pixel array. |
| 572 void GenerateFastPixelArrayLoad(MacroAssembler* masm, |
| 573 Register receiver, |
| 574 Register key, |
| 575 Register elements_map, |
| 576 Register elements, |
| 577 Register scratch1, |
| 578 Register scratch2, |
| 579 Register result, |
| 580 Label* not_pixel_array, |
| 581 Label* key_not_smi, |
| 582 Label* out_of_range); |
| 583 |
| 584 |
571 } } // namespace v8::internal | 585 } } // namespace v8::internal |
572 | 586 |
573 #endif // V8_ARM_CODE_STUBS_ARM_H_ | 587 #endif // V8_ARM_CODE_STUBS_ARM_H_ |
OLD | NEW |