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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 | 799 |
800 // Get the actual activation frame alignment for target environment. | 800 // Get the actual activation frame alignment for target environment. |
801 static int ActivationFrameAlignment(); | 801 static int ActivationFrameAlignment(); |
802 | 802 |
803 // Make sure the stack is aligned. Only emits code in debug mode. | 803 // Make sure the stack is aligned. Only emits code in debug mode. |
804 void AssertStackIsAligned(); | 804 void AssertStackIsAligned(); |
805 | 805 |
806 void LoadContext(Register dst, int context_chain_length); | 806 void LoadContext(Register dst, int context_chain_length); |
807 | 807 |
808 // Conditionally load the cached Array transitioned map of type | 808 // Conditionally load the cached Array transitioned map of type |
809 // transitioned_kind from the global context if the map in register | 809 // transitioned_kind from the native context if the map in register |
810 // map_in_out is the cached Array map in the global context of | 810 // map_in_out is the cached Array map in the native context of |
811 // expected_kind. | 811 // expected_kind. |
812 void LoadTransitionedArrayMapConditional( | 812 void LoadTransitionedArrayMapConditional( |
813 ElementsKind expected_kind, | 813 ElementsKind expected_kind, |
814 ElementsKind transitioned_kind, | 814 ElementsKind transitioned_kind, |
815 Register map_in_out, | 815 Register map_in_out, |
816 Register scratch, | 816 Register scratch, |
817 Label* no_map_match); | 817 Label* no_map_match); |
818 | 818 |
819 // Load the initial map for new Arrays from a JSFunction. | 819 // Load the initial map for new Arrays from a JSFunction. |
820 void LoadInitialArrayMap(Register function_in, | 820 void LoadInitialArrayMap(Register function_in, |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1535 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1536 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1537 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1538 #else | 1538 #else |
1539 #define ACCESS_MASM(masm) masm-> | 1539 #define ACCESS_MASM(masm) masm-> |
1540 #endif | 1540 #endif |
1541 | 1541 |
1542 } } // namespace v8::internal | 1542 } } // namespace v8::internal |
1543 | 1543 |
1544 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1544 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |