OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 Register scratch, | 828 Register scratch, |
829 Label* no_map_match); | 829 Label* no_map_match); |
830 | 830 |
831 // Load the initial map for new Arrays from a JSFunction. | 831 // Load the initial map for new Arrays from a JSFunction. |
832 void LoadInitialArrayMap(Register function_in, | 832 void LoadInitialArrayMap(Register function_in, |
833 Register scratch, | 833 Register scratch, |
834 Register map_out, | 834 Register map_out, |
835 bool can_have_holes); | 835 bool can_have_holes); |
836 | 836 |
837 void LoadGlobalFunction(int index, Register function); | 837 void LoadGlobalFunction(int index, Register function); |
| 838 void LoadArrayFunction(Register function); |
838 | 839 |
839 // Load the initial map from the global function. The registers | 840 // Load the initial map from the global function. The registers |
840 // function and map can be the same, function is then overwritten. | 841 // function and map can be the same, function is then overwritten. |
841 void LoadGlobalFunctionInitialMap(Register function, | 842 void LoadGlobalFunctionInitialMap(Register function, |
842 Register map, | 843 Register map, |
843 Register scratch); | 844 Register scratch); |
844 | 845 |
845 void InitializeRootRegister() { | 846 void InitializeRootRegister() { |
846 ExternalReference roots_array_start = | 847 ExternalReference roots_array_start = |
847 ExternalReference::roots_array_start(isolate()); | 848 ExternalReference::roots_array_start(isolate()); |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1568 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1569 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1569 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1570 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1570 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1571 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1571 #else | 1572 #else |
1572 #define ACCESS_MASM(masm) masm-> | 1573 #define ACCESS_MASM(masm) masm-> |
1573 #endif | 1574 #endif |
1574 | 1575 |
1575 } } // namespace v8::internal | 1576 } } // namespace v8::internal |
1576 | 1577 |
1577 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1578 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |