OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 Probe(false); | 234 Probe(false); |
235 return supported_; | 235 return supported_; |
236 } | 236 } |
237 | 237 |
238 static bool IsSupported(CpuFeature f) { | 238 static bool IsSupported(CpuFeature f) { |
239 return (supported_ & (1u << f)) != 0; | 239 return (supported_ & (1u << f)) != 0; |
240 } | 240 } |
241 | 241 |
242 static inline bool SupportsCrankshaft(); | 242 static inline bool SupportsCrankshaft(); |
243 | 243 |
244 static inline bool SupportsSimd128(); | 244 static inline bool SupportsWasmSimd128(); |
245 | 245 |
246 static inline unsigned icache_line_size() { | 246 static inline unsigned icache_line_size() { |
247 DCHECK(icache_line_size_ != 0); | 247 DCHECK(icache_line_size_ != 0); |
248 return icache_line_size_; | 248 return icache_line_size_; |
249 } | 249 } |
250 | 250 |
251 static inline unsigned dcache_line_size() { | 251 static inline unsigned dcache_line_size() { |
252 DCHECK(dcache_line_size_ != 0); | 252 DCHECK(dcache_line_size_ != 0); |
253 return dcache_line_size_; | 253 return dcache_line_size_; |
254 } | 254 } |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 std::vector<ConstantPoolEntry> shared_entries; | 1243 std::vector<ConstantPoolEntry> shared_entries; |
1244 }; | 1244 }; |
1245 | 1245 |
1246 Label emitted_label_; // Records pc_offset of emitted pool | 1246 Label emitted_label_; // Records pc_offset of emitted pool |
1247 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; | 1247 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; |
1248 }; | 1248 }; |
1249 | 1249 |
1250 } // namespace internal | 1250 } // namespace internal |
1251 } // namespace v8 | 1251 } // namespace v8 |
1252 #endif // V8_ASSEMBLER_H_ | 1252 #endif // V8_ASSEMBLER_H_ |
OLD | NEW |