| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 1947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1958 // EmitFrameSetupForCodeAgePatching. Otherwise, this method asserts that the | 1958 // EmitFrameSetupForCodeAgePatching. Otherwise, this method asserts that the |
| 1959 // sequence is a code age sequence (emitted by EmitCodeAgeSequence). | 1959 // sequence is a code age sequence (emitted by EmitCodeAgeSequence). |
| 1960 static bool IsYoungSequence(byte* sequence); | 1960 static bool IsYoungSequence(byte* sequence); |
| 1961 | 1961 |
| 1962 #ifdef DEBUG | 1962 #ifdef DEBUG |
| 1963 // Return true if the sequence is a code age sequence generated by | 1963 // Return true if the sequence is a code age sequence generated by |
| 1964 // EmitCodeAgeSequence. | 1964 // EmitCodeAgeSequence. |
| 1965 static bool IsCodeAgeSequence(byte* sequence); | 1965 static bool IsCodeAgeSequence(byte* sequence); |
| 1966 #endif | 1966 #endif |
| 1967 | 1967 |
| 1968 // Jumps to found label if a prototype map has dictionary elements. |
| 1969 void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, |
| 1970 Register scratch1, Label* found); |
| 1971 |
| 1968 private: | 1972 private: |
| 1969 // Helpers for CopyFields. | 1973 // Helpers for CopyFields. |
| 1970 // These each implement CopyFields in a different way. | 1974 // These each implement CopyFields in a different way. |
| 1971 void CopyFieldsLoopPairsHelper(Register dst, Register src, unsigned count, | 1975 void CopyFieldsLoopPairsHelper(Register dst, Register src, unsigned count, |
| 1972 Register scratch1, Register scratch2, | 1976 Register scratch1, Register scratch2, |
| 1973 Register scratch3); | 1977 Register scratch3); |
| 1974 void CopyFieldsUnrolledPairsHelper(Register dst, Register src, unsigned count, | 1978 void CopyFieldsUnrolledPairsHelper(Register dst, Register src, unsigned count, |
| 1975 Register scratch1, Register scratch2); | 1979 Register scratch1, Register scratch2); |
| 1976 void CopyFieldsUnrolledHelper(Register dst, Register src, unsigned count, | 1980 void CopyFieldsUnrolledHelper(Register dst, Register src, unsigned count, |
| 1977 Register scratch1); | 1981 Register scratch1); |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2174 #error "Unsupported option" | 2178 #error "Unsupported option" |
| 2175 #define CODE_COVERAGE_STRINGIFY(x) #x | 2179 #define CODE_COVERAGE_STRINGIFY(x) #x |
| 2176 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 2180 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
| 2177 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2181 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 2178 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2182 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 2179 #else | 2183 #else |
| 2180 #define ACCESS_MASM(masm) masm-> | 2184 #define ACCESS_MASM(masm) masm-> |
| 2181 #endif | 2185 #endif |
| 2182 | 2186 |
| 2183 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ | 2187 #endif // V8_A64_MACRO_ASSEMBLER_A64_H_ |
| OLD | NEW |