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 853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 // transitioned_kind from the native context if the map in register | 864 // transitioned_kind from the native context if the map in register |
865 // map_in_out is the cached Array map in the native context of | 865 // map_in_out is the cached Array map in the native context of |
866 // expected_kind. | 866 // expected_kind. |
867 void LoadTransitionedArrayMapConditional( | 867 void LoadTransitionedArrayMapConditional( |
868 ElementsKind expected_kind, | 868 ElementsKind expected_kind, |
869 ElementsKind transitioned_kind, | 869 ElementsKind transitioned_kind, |
870 Register map_in_out, | 870 Register map_in_out, |
871 Register scratch, | 871 Register scratch, |
872 Label* no_map_match); | 872 Label* no_map_match); |
873 | 873 |
874 // Load the initial map for new Arrays from a JSFunction. | |
875 void LoadInitialArrayMap(Register function_in, | |
876 Register scratch, | |
877 Register map_out, | |
878 bool can_have_holes); | |
879 | |
880 void LoadGlobalFunction(int index, Register function); | 874 void LoadGlobalFunction(int index, Register function); |
881 void LoadArrayFunction(Register function); | 875 void LoadArrayFunction(Register function); |
882 | 876 |
883 // Load the initial map from the global function. The registers | 877 // Load the initial map from the global function. The registers |
884 // function and map can be the same, function is then overwritten. | 878 // function and map can be the same, function is then overwritten. |
885 void LoadGlobalFunctionInitialMap(Register function, | 879 void LoadGlobalFunctionInitialMap(Register function, |
886 Register map, | 880 Register map, |
887 Register scratch); | 881 Register scratch); |
888 | 882 |
889 void InitializeRootRegister() { | 883 void InitializeRootRegister() { |
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1672 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1666 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1673 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1667 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1674 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1668 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1675 #else | 1669 #else |
1676 #define ACCESS_MASM(masm) masm-> | 1670 #define ACCESS_MASM(masm) masm-> |
1677 #endif | 1671 #endif |
1678 | 1672 |
1679 } } // namespace v8::internal | 1673 } } // namespace v8::internal |
1680 | 1674 |
1681 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1675 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |