| 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 | 5 // modification, are permitted provided that the following conditions |
| 6 // are met: | 6 // are 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "src/serialize.h" | 43 #include "src/serialize.h" |
| 44 | 44 |
| 45 namespace v8 { | 45 namespace v8 { |
| 46 namespace internal { | 46 namespace internal { |
| 47 | 47 |
| 48 // ----------------------------------------------------------------------------- | 48 // ----------------------------------------------------------------------------- |
| 49 // Implementation of CpuFeatures | 49 // Implementation of CpuFeatures |
| 50 | 50 |
| 51 void CpuFeatures::ProbeImpl(bool cross_compile) { | 51 void CpuFeatures::ProbeImpl(bool cross_compile) { |
| 52 CPU cpu; | 52 CPU cpu; |
| 53 supported_ |= OS::CpuFeaturesImpliedByPlatform(); | |
| 54 | 53 |
| 55 // Only use statically determined features for cross compile (snapshot). | 54 // Only use statically determined features for cross compile (snapshot). |
| 56 if (cross_compile) return; | 55 if (cross_compile) return; |
| 57 } | 56 } |
| 58 | 57 |
| 59 | 58 |
| 60 void CpuFeatures::PrintTarget() { } | 59 void CpuFeatures::PrintTarget() { } |
| 61 void CpuFeatures::PrintFeatures() { } | 60 void CpuFeatures::PrintFeatures() { } |
| 62 | 61 |
| 63 | 62 |
| (...skipping 1956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2020 fprintf(coverage_log, "%s\n", file_line); | 2019 fprintf(coverage_log, "%s\n", file_line); |
| 2021 fflush(coverage_log); | 2020 fflush(coverage_log); |
| 2022 } | 2021 } |
| 2023 } | 2022 } |
| 2024 | 2023 |
| 2025 #endif | 2024 #endif |
| 2026 | 2025 |
| 2027 } } // namespace v8::internal | 2026 } } // namespace v8::internal |
| 2028 | 2027 |
| 2029 #endif // V8_TARGET_ARCH_X87 | 2028 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |