| 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 1950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1961 // not have to check for overflow. The same is true for writes of large | 1961 // not have to check for overflow. The same is true for writes of large |
| 1962 // relocation info entries, and debug strings encoded in the instruction | 1962 // relocation info entries, and debug strings encoded in the instruction |
| 1963 // stream. | 1963 // stream. |
| 1964 static const int kGap = 128; | 1964 static const int kGap = 128; |
| 1965 | 1965 |
| 1966 #ifdef DEBUG | 1966 #ifdef DEBUG |
| 1967 bool finalized_; | 1967 bool finalized_; |
| 1968 #endif | 1968 #endif |
| 1969 | 1969 |
| 1970 private: | 1970 private: |
| 1971 // TODO(jbramley): [GOOGJSE-238] W16 uses next_literal_pool_check_ and | 1971 // TODO(jbramley): VIXL uses next_literal_pool_check_ and |
| 1972 // literal_pool_monitor_ to determine when to consider emitting a literal | 1972 // literal_pool_monitor_ to determine when to consider emitting a literal |
| 1973 // pool. V8 doesn't use them, so they should either not be here at all, or | 1973 // pool. V8 doesn't use them, so they should either not be here at all, or |
| 1974 // should replace or be merged with next_buffer_check_ and | 1974 // should replace or be merged with next_buffer_check_ and |
| 1975 // const_pool_blocked_nesting_. | 1975 // const_pool_blocked_nesting_. |
| 1976 Instruction* next_literal_pool_check_; | 1976 Instruction* next_literal_pool_check_; |
| 1977 unsigned literal_pool_monitor_; | 1977 unsigned literal_pool_monitor_; |
| 1978 | 1978 |
| 1979 PositionsRecorder positions_recorder_; | 1979 PositionsRecorder positions_recorder_; |
| 1980 friend class PositionsRecorder; | 1980 friend class PositionsRecorder; |
| 1981 friend class EnsureSpace; | 1981 friend class EnsureSpace; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2029 class EnsureSpace BASE_EMBEDDED { | 2029 class EnsureSpace BASE_EMBEDDED { |
| 2030 public: | 2030 public: |
| 2031 explicit EnsureSpace(Assembler* assembler) { | 2031 explicit EnsureSpace(Assembler* assembler) { |
| 2032 assembler->CheckBuffer(); | 2032 assembler->CheckBuffer(); |
| 2033 } | 2033 } |
| 2034 }; | 2034 }; |
| 2035 | 2035 |
| 2036 } } // namespace v8::internal | 2036 } } // namespace v8::internal |
| 2037 | 2037 |
| 2038 #endif // V8_A64_ASSEMBLER_A64_H_ | 2038 #endif // V8_A64_ASSEMBLER_A64_H_ |
| OLD | NEW |