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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 "f24", | 98 "f24", |
99 "f26" | 99 "f26" |
100 }; | 100 }; |
101 return names[index]; | 101 return names[index]; |
102 } | 102 } |
103 | 103 |
104 | 104 |
105 void CpuFeatures::Probe() { | 105 void CpuFeatures::Probe() { |
106 unsigned standard_features = (OS::CpuFeaturesImpliedByPlatform() | | 106 unsigned standard_features = (OS::CpuFeaturesImpliedByPlatform() | |
107 CpuFeaturesImpliedByCompiler()); | 107 CpuFeaturesImpliedByCompiler()); |
108 ASSERT(supported_ == 0 || supported_ == standard_features); | 108 ASSERT(supported_ == 0 || |
| 109 (supported_ & standard_features) == standard_features); |
109 #ifdef DEBUG | 110 #ifdef DEBUG |
110 initialized_ = true; | 111 initialized_ = true; |
111 #endif | 112 #endif |
112 | 113 |
113 // Get the features implied by the OS and the compiler settings. This is the | 114 // Get the features implied by the OS and the compiler settings. This is the |
114 // minimal set of features which is also allowed for generated code in the | 115 // minimal set of features which is also allowed for generated code in the |
115 // snapshot. | 116 // snapshot. |
116 supported_ |= standard_features; | 117 supported_ |= standard_features; |
117 | 118 |
118 if (Serializer::enabled()) { | 119 if (Serializer::enabled()) { |
(...skipping 2223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2342 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2343 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
2343 // No out-of-line constant pool support. | 2344 // No out-of-line constant pool support. |
2344 ASSERT(!FLAG_enable_ool_constant_pool); | 2345 ASSERT(!FLAG_enable_ool_constant_pool); |
2345 return; | 2346 return; |
2346 } | 2347 } |
2347 | 2348 |
2348 | 2349 |
2349 } } // namespace v8::internal | 2350 } } // namespace v8::internal |
2350 | 2351 |
2351 #endif // V8_TARGET_ARCH_MIPS | 2352 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |