| Index: src/platform-freebsd.cc
|
| diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc
|
| index 2a9e174e35bc6bcb1c1ffc3ab29975c7844f4263..40784b2240a3b722b5cd8278c2e8b841fe7dfa33 100644
|
| --- a/src/platform-freebsd.cc
|
| +++ b/src/platform-freebsd.cc
|
| @@ -91,6 +91,15 @@ void OS::SetUp() {
|
| }
|
|
|
|
|
| +void MathSetup(); // Defined in platform-posix.cc.
|
| +
|
| +void OS::PostSetUp() {
|
| + // Math functions depend on CPU features therefore they are initialized after
|
| + // CPU.
|
| + MathSetup();
|
| +}
|
| +
|
| +
|
| void OS::ReleaseStore(volatile AtomicWord* ptr, AtomicWord value) {
|
| __asm__ __volatile__("" : : : "memory");
|
| *ptr = value;
|
|
|